[antlr-interest] Lexer Inheritance
robbugh
rbugh at journee.com
Wed Jul 23 11:13:50 PDT 2003
Is there a way, in ANTLR 2.7.2, to sub type a lexer adding only a new
token to the "tokens {}" statement, i.e., without adding new rules?
Something like the example shown below:
class mySubLexer extends myLexer
tokens {
NEW_TOKEN = "new_token";
}
ANTLR reports an error in this case:
unexpected token: null
Rob Bugh
rbugh at journee.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list