[antlr-interest] more specific (lang independent?) actions (WAS: header sections)

Monty Zukowski monty at codetransform.com
Thu Nov 18 10:52:20 PST 2004


> More devious than you might presume.  This opens the field for aspects
> in a .g file ;)
>
> Now to press my luck for conditionals.....I suppose that can be
> controlled by which templates are in use.
>
> section debug {
> #DEFINE DEBUG 1
> }
>
> section error_reporting {
> ...
> }
>
> section tracing {
> ...
> }
>

Oh!  Oh!  I know!  I know!

section defaultExceptionHandler(MismatchedTokenException) {
catch (MismatchedTokenException) {
	....
}

}


Monty



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list