Closed slavonnet closed 1 year ago
https://github.com/antlr/grammars-v4/blob/494877cd60faf13342fbb5ba1d7e76534b61a895/xpath/xpath31/XPath31.g4#LL341C32-L341C32
inn spec double quote for {EscapeApos }and [^'] in regexp in file one quote '\' and regexp dows not gave NOT [']
[^']
\'
[']
[116] StringLiteral ::= ('"' (EscapeQuot | [^"])* '"') | ("'" (EscapeApos | [^'])* "'") /* ws: explicit */ [119] EscapeQuot ::= '""' [120] EscapeApos ::= "''"
You're right. Looks like I forgot to roll some of the changes from my latest grammar files into this repo. The grammar needs to be split,too.
https://github.com/antlr/grammars-v4/blob/494877cd60faf13342fbb5ba1d7e76534b61a895/xpath/xpath31/XPath31.g4#LL341C32-L341C32
inn spec double quote for {EscapeApos }and
[^']
in regexp in file one quote '\'
and regexp dows not gave NOT[']