[antlr-interest] tree parser separation

Adrian Sandor aditsu at yahoo.com
Sat Aug 2 01:38:19 PDT 2003


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/ 




More information about the antlr-interest mailing list