Why it does not work? #792
Answered
by
msujew
Serhioromano
asked this question in
Q&A
|
This works if I type This does not It cannot resolve |
Answered by
msujew
Nov 28, 2022
Replies: 1 comment 1 reply
|
Hey @Serhioromano, do you already have a keyword or other terminal in your grammar which parses the |
1 reply
Answer selected by
Serhioromano
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @Serhioromano,
do you already have a keyword or other terminal in your grammar which parses the
INTstring? Keywords are always preferred when lexing, so in case you encounter justINT, it will try to lex theINTkeyword, not theANY_INTterminal which lexes the same token.