Skip to content

Commit

Permalink
parser: add qualified_name and object_access as case target
Browse files Browse the repository at this point in the history
Fixes (partially) #68
  • Loading branch information
jkbz64 committed Sep 5, 2024
1 parent ddf36da commit 883143e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ module.exports = grammar({
case_statement: ($) =>
seq(
kw("CASE"),
$.identifier,
choice($.identifier, $.qualified_name, $.object_access),
alias($.case_body, $.body),
$._case_terminator
),
Expand Down

0 comments on commit 883143e

Please sign in to comment.