Skip to content

Commit

Permalink
parser: BY was not keyworded in to_phrase
Browse files Browse the repository at this point in the history
Fixes #82
  • Loading branch information
jkbz64 committed Sep 26, 2024
1 parent 3d0338c commit 80abd4d
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 @@ -920,7 +920,7 @@ module.exports = grammar({
$.assignment,
kw("TO"),
$._expression,
optional(seq("BY", $.number_literal))
optional(seq(kw("BY"), $.number_literal))
),

do_block: ($) =>
Expand Down

0 comments on commit 80abd4d

Please sign in to comment.