Skip to content

Commit

Permalink
parser: do not consume whitespace for terminator
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbz64 committed Sep 23, 2024
1 parent f68761c commit 5d401a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = grammar({
repeat1(seq(alias($._namedot, "."), choice($.identifier, "*")))
),

_terminator: ($) => /\s*\./i,
_terminator: ($) => ".",
_block_terminator: ($) => seq(kw("END"), "."),

null_expression: ($) => /\?/,
Expand Down

0 comments on commit 5d401a2

Please sign in to comment.