Repository navigation
Token ANTLR4 avec apostrophe (') et option caseInsensitive = true #4931
Unanswered
ammarelhinchi
asked this question in
Q&A
Replies: 2 comments 1 reply
|
Have you tried |
1 reply
|
Try configuring JUSQUA options { caseInsensitive=false; } : 'jusqu'a' ; |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a grammar with caseInsensitive = true option. I want to define a token that matches "jusqu'a" (with apostrophe) as a single keyword, but the apostrophe breaks the token recognition. The token "jusqua" (without apostrophe) works fine. How can I make ANTLR recognize "jusqu'a" as a single token while keeping caseInsensitive option?
Example:
JUSQUA : 'jusqu'a' ; // doesn't work with caseInsensitive
All reactions