Skip to content

Commit

Permalink
Allow empty strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouwman committed Jun 7, 2024
1 parent 742d1a3 commit c908900
Show file tree
Hide file tree
Showing 5 changed files with 676 additions and 96 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = grammar({
$.symbol,
$.list),
number: _ => token(num()),
string: $ => seq('"', /[^"\\]+/, '"'),
string: $ => seq('"', /[^"\\]*/, '"'),

_symbol_qualified: $ =>
prec(1, seq(field("package", alias(SYMBOL, $.symbol_package)),
Expand Down
Loading

0 comments on commit c908900

Please sign in to comment.