[antlr-interest] tree parser separation

Terence Parr parrt at cs.usfca.edu
Sat Aug 2 08:33:48 PDT 2003


you need to importVocab.  See the examples. :)

Terence

On Saturday, August 2, 2003, at 01:38 AM, Adrian Sandor wrote:

> How can I keep a lexer and a parser in one file, and a tree parser in
> another file? If I put them all in one grammar file, then it works,
> but when I move the tree parser to another file, I get "unexpected AST
> node" errors. Is there some "#include" directive for grammars? Or any
> other solution?
>
> thanks
> Adrian
>
>
>
>
> Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/
>
>
>
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Co-founder, http://www.jguru.com
Co-founder, http://www.knowspam.net enjoy email again!
Co-founder, http://www.peerscope.com pure link sharing




 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list