[antlr-interest] Fwd: rulecatch C runtime

Bot Tiger bottiger1 at gmail.com
Wed Jan 21 00:42:01 PST 2009


Hello Antlr mailing list. Thank you Jim for the C runtime, and Terrence for
Antlr.

I wanted to know how I can change the error handler so it can quit on the
first error.

I tried doing @rulecatch {}, but antlr 3.1.1 says:

"error(100): C:\Users\admin\Desktop\SimpleCalc.g:12:1: syntax error: antlr:
C:\Users\admin\Desktop\SimpleCalc.g:12:1: unexpected token: tokens {"

Any suggestions?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090121/1fd50968/attachment.html 


More information about the antlr-interest mailing list