[antlr-interest] Lexical rules calling lexical rules
mitchellch
mitchellch at comcast.net
Mon Jul 23 11:19:16 PDT 2007
Why does the following generate (MismatchedTokenException(0!=0)) when I
reference either C1ID or C2ID?
fragment ID : ('a'..'z'|'A'..'Z'|'_')('a'..'z'|'A'..'Z'|'_'|'0'..'9')* ;
C1ID : ID;
C2ID : ID;
For now I want C1 and C2 IDs to be generic IDs, but I eventually plan to
evolve them to be more specific.
Thanks.
-Mitch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070723/a72a2c28/attachment.html
More information about the antlr-interest
mailing list