[antlr-interest] AntlrWorks tokenVocab support

Felix Dorner felix_do at web.de
Mon Feb 25 02:08:58 PST 2008


Hey,

I do the AST Parser Example from "The Definitive Antlr Reference" in 
Chapter 3:

options {
tokenVocab=Expr;
...
}

As the Grammar Rules include lexical token names from an external 
definition, they are marked as "undefined references". Can I somehow 
make AntlrWorks "import" these token names from the grammar that defines 
them to make the "error" markers disappear?

Thanks,
Felix


More information about the antlr-interest mailing list