[antlr-interest] possible bug in ANTLR 3.0.1

Carter Cheng carter_cheng at yahoo.com
Sun Feb 17 17:37:24 PST 2008


Hello Jim,

Here is the file in question. 

Regards,

Carter.

--- Jim Idle <jimi at temporal-wave.com> wrote:

> We would need to see your code to see if there is
> anything wrong I am 
> afraid.
> 
> Jim
> 
> > -----Original Message-----
> > From: Carter Cheng [mailto:carter_cheng at yahoo.com]
> > Sent: Sunday, February 17, 2008 6:15 AM
> > To: antlr-interest at antlr.org
> > Subject: [antlr-interest] possible bug in ANTLR
> 3.0.1
> > 
> > Hi everyone,
> > 
> > I have been trying to replicate something very
> similar
> > to the code listed on p.183 of the ANTLR Reference
> but
> > this seems to cause an error when you attempt to
> > compile the *Parser.java file because ANTLR
> "forgets"
> > to declare variables correctly.
> > 
> > I managed to correct the problem for in my case
> > inserting one line in the two respective
> functions:
> > 
> > type_return type27* = null;
> > 
> > After which the file compiles without complaints
> and
> > seems to execute properly. I am wondering if this
> > error has been resolved with the newer betas and
> where
> > I might be able to find them.
> > 
> > If I am in error about this I apologize, I am
> still
> > rather new at this.
> > 
> > Thanks in advance,
> > 
> > Carter.
> > 
> > 
> > 
> > 
>
_______________________________________________________________________
> > _____________
> > Never miss a thing.  Make Yahoo your home page.
> > http://www.yahoo.com/r/hs
> 
> 
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LPC.g
Type: application/octet-stream
Size: 7175 bytes
Desc: 4118805548-LPC.g
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20080217/205f6518/attachment-0001.obj 


More information about the antlr-interest mailing list