[antlr-interest] unexpected NoViableAltException

Thomas Dill thomas.dill at teleport.ch
Tue Oct 28 09:05:36 PDT 2008


Hi,

 

I'm new in developing with ANTLR and I created a short grammar for a
particular type of file (both are attached). If a fieldname is equal to a
keyword or the fieldname starts with the name of a keyword followed by a '_'
I got a 'NoViableAltException(0@[null])' (with antlrworks). Why is that? 

 

Can somebody help me, please?

 

Thanks!

 

Best regards,

Thomas

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081028/9a23053a/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MasterFileDescription.g
Type: application/octet-stream
Size: 2607 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20081028/9a23053a/attachment.obj 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dataobj.txt
Url: http://www.antlr.org/pipermail/antlr-interest/attachments/20081028/9a23053a/attachment.txt 


More information about the antlr-interest mailing list