[antlr-interest] Problem with ANTLR RecognitionException!!

juan pablo suarez jpsuarezc at gmail.com
Fri Jun 26 06:54:47 PDT 2009


hi everybody i have a problem with RecognitionException in JAVA

I have an application SWT ap1,  and i did other application SWT ap2 that use
the antlr-3.1.3 and where there are a TextBox for write a text that will be
analice for the lexer and the parser generate with ANTLR.
I have too an application that tests ap2, and it works good, the input text
is analiced ant the AST is generated correctly, but after integrate the ap2
at menu of ap1, the "SendButton" do nothing, none function is executed, but
if i erase the block try-catch that surround
*GrammaireParser.first_instruction_return
result  = g.first_instruction()*, all the functions before this instruction
works fine..., after he sais that *Unhandled exception type
RecognitionException*, and if i let the try-catch block, i do nothing!

So, i dont know what to do!

Help me if u cant

Thank U! en avance :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090626/8b8fd2ed/attachment.html 


More information about the antlr-interest mailing list