Created
July 27, 2012 01:30
-
-
Save lextm/3185658 to your computer and use it in GitHub Desktop.
ANTLR simplest exception handling in C#
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Alter code generation so catch-clauses get replace with | |
// this action. | |
@rulecatch{ | |
catch (RecognitionException) | |
{ | |
throw; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment