Skip to content

Commit 85a21c9

Browse files
authored
fix: allow brackets in macro definitions
1 parent a70daac commit 85a21c9

File tree

4 files changed

+86171
-85774
lines changed

4 files changed

+86171
-85774
lines changed

grammar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ module.exports = grammar({
172172
)),
173173
choice(
174174
seq('(', rules, ')', ';'),
175+
seq('[', rules, ']', ';'),
175176
seq('{', rules, '}'),
176177
),
177178
);

src/grammar.json

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)