[antlr-interest] Disabling overriden rule during iheritance.

Mark Bednarczyk voytechs at yahoo.com
Thu Jun 9 19:43:39 PDT 2005


I need to disable a lexer rule in the subclass grammar file.
That is B inherits from 1.

Base class (A) contains:

IDENT: blah blah blah...

sub grammar file (B) overrides:

IDENT: /* empty */

What I really need to disable the IDENT rule since the token
type IDENT is assigned manually in a different way.

Any hints how I can do this?

Cheers,
mark...




More information about the antlr-interest mailing list