handle string_literal and quoted_template conflict with precedences

This commit is contained in:
mhoffm
2021-06-21 21:08:51 +02:00
parent a496ca0823
commit d57a44c2c3
4 changed files with 222 additions and 217 deletions

View File

@@ -11,8 +11,8 @@ foo = "bar\uZZ"
(attribute
(identifier)
(expression
(template_expr
(quoted_template
(literal_value
(string_lit
(template_literal
(ERROR
(UNEXPECTED '\')))))))))
@@ -47,8 +47,8 @@ foo = "foo\bar"
(attribute
(identifier)
(expression
(template_expr
(quoted_template
(literal_value
(string_lit
(template_literal
(ERROR
(UNEXPECTED '\')))))))))