[antlr-interest] No match

Jason Hocker jkh at datatel.com
Sat May 26 18:37:59 PDT 2007


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/20070526/4f512502/attachment.html 


More information about the antlr-interest mailing list