[antlr-interest] unexpected NoViableAltException

Terence Parr parrt at cs.usfca.edu
Sun Nov 19 11:49:47 PST 2006


crap!  created new issue:

http://www.antlr.org:8888/browse/ANTLR-41

I'm in book writing mode but should be back to bug fixing mode soon.   
That said, I am not sure when I will get to this small improvement.

Ter
On Nov 19, 2006, at 11:41 AM, Dieter Frej wrote:

> 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