[antlr-interest] Invalid target code with rule call arguments
Olivier Lefevre
lefevrol at yahoo.com
Thu Mar 20 15:46:23 PDT 2008
Consider the attached grammar. The call to the r3 rule got rendered as:
r3(n.getText(), , p.list, .size());
which is horribly wrong. It should have been:
r3(n.getText(), p.list.size());
What happened? I tried some variants but I can't find a workaround and
I am not sure whether I got the syntax wrong or whether this is a bug or
limitation in ANTLR.
Thanks,
-- O.L.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Bug4.g
Url: http://www.antlr.org/pipermail/antlr-interest/attachments/20080320/98a9975c/attachment.pl
More information about the antlr-interest
mailing list