[antlr-interest] How to the generated code in the "catch" section ?

Ahmed Hamouda ahmedh at horizonssoftware.com
Wed Feb 27 03:40:18 PST 2008


Hi all,

I generated C# parser and lexer already but I have a small problem.

That I noticed that the generated parser has "try and catch" for each
method but I can't change in generated code in the "catch" section
except by changing it by hand in the parser generated class.

Is there any way to change it in the Antlr before the generation of code
?

 

Thank you for help

 

Best Regards

 

Ahmed Hamouda (MCTS)

Software Engineer

Horizons Software

Address: 93 Haroun Al Rasheed Street, Heliopolis, Cairo, Egypt. 11351. 

Tel:         +202-2644-3709

Mobile:    +2010-33-55-879

Fax:        +202-2632-0661

Website:   www.horizonssoftware.com <http://www.horizonssoftware.com/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080227/e4b89546/attachment.html 


More information about the antlr-interest mailing list