Skip to content

Commit

Permalink
Revert "very little"
Browse files Browse the repository at this point in the history
This reverts commit 57a63a7.
  • Loading branch information
seren5240 committed Mar 12, 2024
1 parent 2c9d061 commit e89c569
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions resources/metavariable-grammars/go-metavariable-grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = grammar({
$._type,
$._type_identifier,
$.field_identifier,
$.package_identifier,
$._package_identifier,
$._top_level_declaration,
$._string_literal,
],
Expand Down Expand Up @@ -114,7 +114,7 @@ module.exports = grammar({

package_clause: $ => seq(
'package',
field('package', $.package_identifier)
field('package', $._package_identifier)
),

import_declaration: $ => seq(
Expand All @@ -130,7 +130,7 @@ module.exports = grammar({
optional(field('name', choice(
$.dot,
$.blank_identifier,
$.package_identifier
$._package_identifier
))),
field('path', $._string_literal)
),
Expand Down Expand Up @@ -891,7 +891,7 @@ module.exports = grammar({
},

qualified_type: $ => seq(
field('package', $.package_identifier),
field('package', $._package_identifier),
'.',
field('name', $._type_identifier)
),
Expand All @@ -905,7 +905,7 @@ module.exports = grammar({

_type_identifier: $ => alias($.identifier, $.type_identifier),
field_identifier: $ => alias($.identifier, $.field_identifier),
package_identifier: $ => alias($.identifier, $.package_identifier),
_package_identifier: $ => alias($.identifier, $.package_identifier),

_string_literal: $ => choice(
$.raw_string_literal,
Expand Down

0 comments on commit e89c569

Please sign in to comment.