Skip to content

Commit

Permalink
fix: allow brackets in macro definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
DemonEin committed Feb 21, 2024
1 parent a70daac commit 85a21c9
Show file tree
Hide file tree
Showing 4 changed files with 86,171 additions and 85,774 deletions.
1 change: 1 addition & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ module.exports = grammar({
)),
choice(
seq('(', rules, ')', ';'),
seq('[', rules, ']', ';'),
seq('{', rules, '}'),
),
);
Expand Down
50 changes: 50 additions & 0 deletions src/grammar.json

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

Loading

0 comments on commit 85a21c9

Please sign in to comment.