Skip to content

Commit

Permalink
GH-5215 support apostrophe
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad committed Dec 8, 2024
1 parent 4c43456 commit 6fb73af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2169,7 +2169,7 @@ else if (curChar == 60) {
kind = 146;
break;
case 82:
if ((0xa800ff7e00000000L & l) != 0L) {
if ((0xa800fffa00000000L & l) != 0L) {
jjCheckNAddStates(44, 47);
}
break;
Expand All @@ -2196,11 +2196,11 @@ else if (curChar == 60) {
kind = 146;
break;
case 88:
if ((0xa800ff7e00000000L & l) != 0L && kind > 146)
if ((0xa800fffa00000000L & l) != 0L && kind > 146)
kind = 146;
break;
case 90:
if ((0xa800ff7e00000000L & l) == 0L)
if ((0xa800fffa00000000L & l) == 0L)
break;
if (kind > 146)
kind = 146; {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ TOKEN:
| <#PN_LOCAL: (<PN_CHARS_U> | ":" | <NUM> | <PLX> ) ( (<PN_CHARS> | "." | ":" | <PLX>)* ( <PN_CHARS> | ":" | <PLX>) )?>
| <#PLX: <PERCENT> | <PN_LOCAL_ESC>>
| <#PERCENT: "%" <HEX> <HEX>>
| <#PN_LOCAL_ESC: "\\" [ "_", "~", ".", "-", "!", "$", "&", "\"", "(", ")", "*", "+", ",", ";", "=", "/", "?", "#", "@", "%" ]>
| <#PN_LOCAL_ESC: "\\" [ "_", "~", ".", "-", "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "=", "/", "?", "#", "@", "%" ]>
| <#VARNAME: (<PN_CHARS_U> | <NUM> ) (<VAR_CHAR>)*>
| <TRIPLE_OPEN: "<<">
| <TRIPLE_CLOSE: ">>">
Expand Down

0 comments on commit 6fb73af

Please sign in to comment.