Skip to content

Commit

Permalink
fix: alias _qualified_field into assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfay committed Jun 19, 2023
1 parent eea1e28 commit e7f1c4a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1503,8 +1503,12 @@ module.exports = grammar({
),

assignment: $ => seq(
optional($.object_reference), // TODO move into seq in field
field('left', $.field),
field('left',
alias(
$._qualified_field,
$.field,
),
),
'=',
field('right', $._expression),
),
Expand Down

0 comments on commit e7f1c4a

Please sign in to comment.