[antlr-interest] Lexer syntactic predicate bug

Allen Short washort at divmod.com
Fri Mar 16 11:40:11 PDT 2007


With the latest hourly build (antlr-03-16-2007.10):

lexer grammar x;

LT:
       '<' ' '*
   |  ('<' IDENT) =>
       '<' IDENT '>';

IDENT:    'a'+;


Produces the following error:

error(100): x.g:0:0: syntax error: buildnfa: <AST>:5:8: unexpected AST node: synpred1


More information about the antlr-interest mailing list