[antlr-interest] Problems w/ tokenVocab in 3ea10

Terence Parr parrt at cs.usfca.edu
Sun Jun 4 09:33:42 PDT 2006


Hi.  Try just AbstractParser and use -lib or whatever the option is  
to point it at right dir. :)
Ter

On Jun 4, 2006, at 8:24 AM, Brian Cox wrote:

> I'm trying to import a set of common tokens between languages using  
> the tokenVocab option, but I'm receiving errors from ANTLR when I  
> try this. Oddly enough, it appears as if the tokens are being  
> properly imported anyway.  Here's the output I get from ANTLR:

[snip]

> options {
>         output=AST;
>         superClass='net.sf.confection.parsers.AbstractParser';
>         tokenVocab='Common';
> }
>
> tokens {
>     IMPORT_FUNCTION_CLAUSE;
>     SINGLE_IDENTIFIER_OR_INDEXED_COMPONENT;
> }
> -----

Ter


More information about the antlr-interest mailing list