[antlr-interest] ANTLR 3.0b6 Code Generation Issue

Bert Williams gilbert.williams at prosync.com
Mon Feb 12 10:16:20 PST 2007


If I remove the comment at line 130 of the attached grammar file, ANTLR3.0b6
generates code with the following types of errors:

*	"eregexParser.java": LA12_2 is already defined in expression_term()
at line 1052, column 25 

The error does not occur if the line is commented out.

 

No ANTLR error is generated with either grammar.

 

What's causing this?  Is there a workaround?

 

Bert Williams.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070212/9f6ac73c/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eregex.g
Type: application/octet-stream
Size: 6449 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20070212/9f6ac73c/attachment-0001.obj 


More information about the antlr-interest mailing list