[antlr-interest] No match
Jim Idle
jimi at temporal-wave.com
Sun May 27 10:51:26 PDT 2007
I'm surprised that Datatel are even that adventurous ;-). Have you
considered just adding the EOF token? However if this is not the top
production, then what you coded here is the equivalent of code? And it
will just assume that it isn't there and look to the next possibility.
Jim
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Jason Hocker
Sent: Saturday, May 26, 2007 7:08 PM
To: Micheal J
Cc: antlr-interest at antlr.org; antlr-interest-bounces at antlr.org
Subject: Re: [antlr-interest] No match
My company has decided to stay at version 2.7.4
Jason Hocker, SCJP (1.4), SCWCD (1.3, 1.4), SCMAD, SCDJWS
Senior Developer
Datatel, Inc.
How higher education does business.
We have a rule like:
code: (ruleA | ruleB | ruleC | ruleD)*;
So if we try to parse code that is wrong... it won't match any of these
rules, and the parser continues and end.
How can we better implement error handling?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070527/9289e821/attachment.html
More information about the antlr-interest
mailing list