[antlr-interest] C++ Output file ANTLR 274

meilland78 jean-claude.meilland at experian-scorex.com
Fri Sep 24 02:39:23 PDT 2004


Hello everyone,

I was wondering if there was a way to specify the file names when 
using ANTRL.

By default it generates:
dummyLexer.cpp
dummyLexer.hpp
dummyParser.cpp
dummyParser.hpp
dummyTokenTypes.hpp
dummyTokenTypes.txt

and for example I would like to have something like :
dummyTool.cpp (lexer + parser)
dummyTool.h (lexer + parser)
dummyTT.h
dummyTT.txt

To summarize have multiple classes in same files and change file name 
and extension.

Thanks in advance if anyone has an idea.

Cheers,

JC



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

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



More information about the antlr-interest mailing list