[antlr-interest] java.util.NoSuchElementException: can't look backwards more than one token in this stream
Verny Quartara
webny23 at gmail.com
Thu Jun 14 01:40:21 PDT 2012
Hi everybody,
I'm getting a strange error in my tree grammar.
The AST is correctly generated by the parser.
When I try to walk the tree, I get
java.util.NoSuchElementException: can't look backwards more than one token
in this stream
Before moving into the details of the grammar, can anyone explain me under
which conditions is this exception thrown? Perhaps I can solve it by my own
with some suggestion.
Thank you
Regards
--
Verny Quartara
More information about the antlr-interest
mailing list