[antlr-interest] charScanner panic.

Scott Stanchfield scott at javadude.com
Fri Apr 29 19:07:46 PDT 2005


Btw: In the antlr 2.7.6 candidate I sent to Ter, I added a system property
that you can set to make antlr throw a RuntimeException for panic instead of
System.exit... The default is still System.exit, though.
 
Later,
-- Scott


  _____  

From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Bharath Sundararaman
Sent: Friday, April 29, 2005 1:31 PM
To: antlr-interest at antlr.org
Subject: [antlr-interest] charScanner panic.



Hi all,

 

I have an application that passes code to my ANTLR compiler. Recently, when
the code is passed, the CharScanner's panic() method is called which causes
a system exit. I over-rode the panic() method and prevented the system from
exiting which led to "can't find AST node type: packageName.ASTName"
exception. 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050429/94bb867c/attachment-0001.html


More information about the antlr-interest mailing list