Skip to content

Commit

Permalink
Added couple of other fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ekazbaraite committed Jan 10, 2025
1 parent fa81d3d commit 4d5a8d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ module.exports = grammar({
alias($.function_parameters, $.parameters),
$.body,
kw("END"),
optional(kw("CONSTRUCTOR")),
optional(choice(kw("CONSTRUCTOR"), kw("METHOD"))),
$._terminator
),

Expand Down Expand Up @@ -998,8 +998,8 @@ module.exports = grammar({
kw("DO"),
optional($.preselect_phrase),
optional($.to_phrase),
optional($.do_tuning),
optional($.while_phrase),
repeat($.do_tuning),
optional($.stop_after_phrase),
repeat(
choice(
Expand Down

0 comments on commit 4d5a8d5

Please sign in to comment.