How do you implement compiler directives? Can anyone offer an example, or the page# in the book? I'd like to implement a "switch" (actually, an array of switches) that alters Antlrs output based on the switch value. For instance, switching TAB from whitespace into a token that can be used for termination. Thanks.