[antlr-interest] unexpected NoViableAltException

Dieter Frej dieter_frej at gmx.net
Sun Nov 19 11:41:33 PST 2006


looks like you missed it

()*
-> NoViableAltException

()+
-> NoViableAltException

()?
-> works

- Didi



-------- Original-Nachricht --------
Datum: Sun, 19 Nov 2006 11:39:15 -0800
Von: Terence Parr <parrt at cs.usfca.edu>
An: ANTLR Interest <antlr-interest at antlr.org>
Betreff: Re: [antlr-interest] unexpected NoViableAltException

> 
> On Nov 19, 2006, at 11:33 AM, Dieter Frej wrote:
> 
> > thanks Ter.
> >
> > Using v3 I thought I do not have to put EOF in the grammar anymore.
> 
> That's what I thought. ;)  I and wondering if maybe I made it work  
> for (...)? but not (...)*.
> 
> > So,
> > when I choose a rule there is no EOF automatically at the end of that
> > rule?
> 
> Can you try (...)? and report back?
> 
> Thanks,
> Ter

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the antlr-interest mailing list