[antlr-interest] Handling 'finally' in language target that doesn't have 'finally'

Rick Mann rmann at latencyzero.com
Mon Jan 19 11:39:08 PST 2009


In a language like C++, which stupidly doesn't support "finally",  
what's the right way to write a grammar? To just not use "finally" in  
it, and use init & after? Is there a way to signal to ANTLR (from the  
back-end implementation) that finally should not be allowed?

TIA,
-- 
Rick



More information about the antlr-interest mailing list