fix: allow user defined literals in assignment lhs

pull/708/head
Amaan Qureshi 2023-08-10 20:54:47 +07:00
parent 5cd0aa4e01
commit 345c85ec9f
No known key found for this signature in database
GPG Key ID: E67890ADC4227273
1 changed files with 1 additions and 0 deletions

@ -1197,6 +1197,7 @@ module.exports = grammar(C, {
_assignment_left_expression: ($, original) => choice(
original,
$.qualified_identifier,
$.user_defined_literal,
),
assignment_expression: $ => prec.right(PREC.ASSIGNMENT, seq(