remove unnecessary precedence
This commit is contained in:
parent
739747c15a
commit
63b21914a5
|
@ -293,11 +293,7 @@ module.exports = grammar({
|
||||||
seq(
|
seq(
|
||||||
'"',
|
'"',
|
||||||
repeat(
|
repeat(
|
||||||
choice(
|
choice(token.immediate(/[^"\n\\\$]+/), $.escape_sequence, $.expansion)
|
||||||
token.immediate(prec(1, /[^"\n\\\$]+/)),
|
|
||||||
$.escape_sequence,
|
|
||||||
$.expansion
|
|
||||||
)
|
|
||||||
),
|
),
|
||||||
'"'
|
'"'
|
||||||
),
|
),
|
||||||
|
|
|
@ -1389,14 +1389,10 @@
|
||||||
"members": [
|
"members": [
|
||||||
{
|
{
|
||||||
"type": "IMMEDIATE_TOKEN",
|
"type": "IMMEDIATE_TOKEN",
|
||||||
"content": {
|
|
||||||
"type": "PREC",
|
|
||||||
"value": 1,
|
|
||||||
"content": {
|
"content": {
|
||||||
"type": "PATTERN",
|
"type": "PATTERN",
|
||||||
"value": "[^\"\\n\\\\\\$]+"
|
"value": "[^\"\\n\\\\\\$]+"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "SYMBOL",
|
"type": "SYMBOL",
|
||||||
|
|
Loading…
Reference in a new issue