Fix node naming in {param,field}_declaration
@@ -232,7 +232,7 @@ module.exports = grammar({
),
parameter_declaration: $ => seq(
- field('name', commaSep($.identifier)),
+ commaSep(field('name', $.identifier)),
field('type', $._type)
),
@@ -344,7 +344,7 @@ module.exports = grammar({
field_declaration: $ => seq(
choice(
seq(
- field('name', commaSep1($._field_identifier)),
+ commaSep1(field('name', $._field_identifier)),
field('type', $._type)
),
seq(
