Skip to content

Commit

Permalink
fix: remove the unnecessary seq around variadic_parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed May 25, 2024
1 parent 82fb86a commit c2b5837
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 95 deletions.
4 changes: 1 addition & 3 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -728,9 +728,7 @@ module.exports = grammar({
optional(seq('=', field('value', $._expression))),
),

variadic_parameter: _ => seq(
'...',
),
variadic_parameter: _ => '...',

parameter_list: $ => seq(
'(',
Expand Down
9 changes: 2 additions & 7 deletions 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 c2b5837

Please sign in to comment.