Skip to content

Commit

Permalink
fix: comment rules (#10)
Browse files Browse the repository at this point in the history
Closes #10.
  • Loading branch information
luckasRanarison committed Jan 8, 2024
1 parent 9bd008f commit 714723b
Show file tree
Hide file tree
Showing 4 changed files with 620 additions and 556 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ module.exports = grammar({

keys: ($) => choice(seq($.mod, $.mod), seq($.variable, $.mod)),

string: () => token(prec(-1, /[^\n,]+/)),
string: () => token(prec(-1, /[^\n,#]+|.*##.*/)),

params: ($) => prec(-1, seq($._value, repeat(seq(",", $._value)))),

Expand Down
2 changes: 1 addition & 1 deletion 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 714723b

Please sign in to comment.