Skip to content

Commit

Permalink
fix: allow variables to be delimited by commas
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Jan 26, 2024
1 parent 7230f06 commit 5fefd45
Show file tree
Hide file tree
Showing 4 changed files with 2,854 additions and 2,707 deletions.
1 change: 1 addition & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ module.exports = grammar({
variable: $ => seq(
field('left', $.symbol),
':=',
optional(','),
field('right', $.expression),
),

Expand Down
12 changes: 12 additions & 0 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5fefd45

Please sign in to comment.