[antlr-interest] NoViableAltException this time

Simon zack simonzack at gmail.com
Thu Mar 25 19:17:32 PDT 2010


Still can't figure this out
This time I looked at the lexer code generated and it seems that after the
DOT
whenever it encounters 'e' it matches '.exception_info'
this is strange, as I thought the default of antlr matching was greedy
Why should it resort to another rule when the current subrule matches? This
is non-greedy behavior

regards,
simon


More information about the antlr-interest mailing list