[antlr-interest] ANTLR parser

mobi sux mobisuxsux at gmail.com
Sun Apr 6 14:22:13 PDT 2008


Hi.. i'm working on a parser in ANTLR. I ia have a little big problem.
If i give an input with errors, the parser will regognize the error so
i give out a message.. but i would like to skip the ouput ..line 3:1
null
recoverFromMismatchedToken
BR.recoverFromMismatchedToken.. and would just put out my mistake.

And one more thing.. if the input is correct.. which method can i use
to write on the output, a text such as"GOOD job =)"..


Help. please..

Thanks in advance.


More information about the antlr-interest mailing list