[antlr-interest] Lookahead problems - Bug in C++ Runtime?

Martin Probst mail at martin-probst.com
Fri Sep 17 06:27:14 PDT 2004


I'll try to take a look into it myself too because I can't continue to
work on my grammar without a fix for the problem. This is a really
annoying bug to me.
Let me know if I can be of any help.

Am Fr, den 17.09.2004 schrieb Ric Klaren um 14:50:
> On Fri, Sep 17, 2004 at 01:03:25PM +0200, Martin Probst wrote:
> > I've done some work to track this down and it seems to be a bug in the
> > C++ runtime. I have created a very simple sample grammar and run it
> > through ANTLR one time as language="Cpp" and once as language="Java".
> > The result is that in java mode everything works fine and the parser is
> > LL(1). In C++ mode somehow two tokens are read from the lexer in
> > advance.
> 
> Thanks for the bug report and the example files. I'll have a look at it (no
> guarantee on when though at the moment.. I'm a bit swamped atm)
> 
> Cheers,
> 
> Ric



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list