Error message clarification
1 posts in topic
Flat View  Flat View

Posted By:   Dave_Pawson
Posted On:   Tuesday, January 14, 2003 08:26 AM

Receiving the following error message

toxml.g:0: warning:Alternate omitted due to empty prediction set

Very new to antlr, have retraced my steps back
to a working demo version, but can't trace this one. I really don't know where to look. Its only a 30 line .g file. Any pointers to what kind of error might produce this please?

Re: Error message clarification ; Solved.

Posted By:   Dave_Pawson  
Posted On:   Wednesday, January 15, 2003 01:06 AM


By a painful trial and error, in the lexer I had.

LINE : (~('
'))+ ;

Changing this to .

LINE : (~('
'))+ ;

which meets my win32 needs, resolved it..

A line number with the error message
would be really helpful..

regards DaveP.

About | Sitemap | Contact