1 posts in topic
Flat View  Flat View

Posted By:   Jennifer_Werner
Posted On:   Monday, June 2, 2003 10:55 AM

Hi, I have a production grammer that looks like this:


If I lose the input stream before I get the OVL I get the following syntax error:

expecting OVL, found 'null'

Any idea where this 'null' is coming from and is there any way to prevent this? Has anyone seen this before?

Re: Antlr272

Posted By:   Monty_Zukowski  
Posted On:   Tuesday, June 3, 2003 08:25 AM

Usually you would get an error expecting OVL, found EOF. Not sure why it is 'null'. Java or C++?

You need an exception handler to handle the case if OVL is not coming because that is an error.

If you need commercial support you can also contact me through www.codetransform.com

About | Sitemap | Contact