[antlr-interest] antlrworks bug: invalid code generated with semantic predicates

Terence Parr parrt at cs.usfca.edu
Tue Sep 11 08:41:01 PDT 2007


Hi. that's an ANTLR issue if anything.  Please narrow it down to a  
simple rule that generates invalid code.  Were there any errors/ 
warnings from ANTLR?
Ter
On Sep 11, 2007, at 8:24 AM, Putrycz, Erik wrote:

> I’ll try to narrow this down but with some semantic predicates,  
> antlrworks causes this error:
>
> [11:20:50] \tmp\antlrworks\Cobolv3Parser.java:25462: illegal start  
> of expression
>
> [11:20:50]         int alt=;
>
> [11:20:50]                 ^
>
> [11:20:50] 1 error
>
>
> Erik Putrycz, Ph.D - Research Associate / erik.putrycz at nrc- 
> cnrc.gc.ca / (613) 990 0681
>
> Institute for Information Technology - Software Engineering Group
>
> National Research Council, Canada - Building M-50, 1200 Montreal Road
>
> Ottawa, Ontario, CANADA K1A 0R6
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070911/fa13847a/attachment.html 


More information about the antlr-interest mailing list