how to recognize ’A < B < C> >’ without searching ’>>‘ (antlr4.9.3) #3991
Answered
by
kaby76
ReverseJay
asked this question in
Q&A
-
|
i was writing a generic recognition with nest relation, like A < B < C > > when parsing A < B < C > >(without blank) i have no idea how to fix it XD |
Beta Was this translation helpful? Give feedback.
Answered by
kaby76
Nov 28, 2022
Replies: 1 comment 2 replies
-
|
Check your build environment. The grammar works fine, although the grammar does not recognize whitespace, so spaces and newlines cannot appear at all in the input. Output the tokens recognized when debugging a parser. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ReverseJay
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check your build environment. The grammar works fine, although the grammar does not recognize whitespace, so spaces and newlines cannot appear at all in the input. Output the tokens recognized when debugging a parser.