grammar: remove seq from the _end rule
This commit is contained in:
parent
6b5e1d9123
commit
95479ef189
2 changed files with 8 additions and 13 deletions
|
@ -441,6 +441,6 @@ module.exports = grammar({
|
||||||
line_comment: ($) => token(prec(PREC.COMMENT, seq("#", /.*/))),
|
line_comment: ($) => token(prec(PREC.COMMENT, seq("#", /.*/))),
|
||||||
|
|
||||||
_eol: ($) => token(prec(PREC.EOL, "\n")),
|
_eol: ($) => token(prec(PREC.EOL, "\n")),
|
||||||
_end: ($) => seq(choice(";", $._eol)),
|
_end: ($) => choice(";", $._eol),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -2244,9 +2244,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"_end": {
|
"_end": {
|
||||||
"type": "SEQ",
|
|
||||||
"members": [
|
|
||||||
{
|
|
||||||
"type": "CHOICE",
|
"type": "CHOICE",
|
||||||
"members": [
|
"members": [
|
||||||
{
|
{
|
||||||
|
@ -2259,8 +2256,6 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"extras": [
|
"extras": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue