Skip to content

Instantly share code, notes, and snippets.

@lextm
Created July 27, 2012 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lextm/3185658 to your computer and use it in GitHub Desktop.
Save lextm/3185658 to your computer and use it in GitHub Desktop.
ANTLR simplest exception handling in C#
// 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