[antlr-interest] splitting lexer and parser grammars
Johannes Luber
jaluber at gmx.de
Sat Dec 29 05:21:50 PST 2007
Mark Volkmann schrieb:
> If I put my lexer rules in a separate grammar file from my parser
> rules that create an AST, does that mean I can't use ANTLRWorks to
> test that the parser grammar is creating correct ASTs? I can't figure
> out a way to tell it that it needs to process both grammar files.
>
Did you use
options {
tokenVocab=LexerGrammar;
}
Johannes
More information about the antlr-interest
mailing list