[antlr-interest] Antlr parse cannot parse the file completly

Randall R Schulz rschulz at sonic.net
Tue Oct 16 06:23:43 PDT 2007


On Monday 15 October 2007 22:08, amol Bhagavat wrote:
> Hi ,
>
>   Hw to implement a rule in grammar which will check EOF of a file.
>   My parser comes out of parsing if it could not parse some wrong
> syntax. I want it to parse the file to the end & leave the wrong
> syntax.

Match against the built-in token EOF in a grammar rule.


Randall Schulz


More information about the antlr-interest mailing list