[antlr-interest] Language Preprocessor.
Trey Spiva
Trey.Spiva at embarcadero.com
Thu Apr 11 11:52:48 PDT 2002
I was wondering if I can mark actions as being Java or C++. If I could I
would
be able to have both java and C++ action in the same grammar file and just
change
the language to be produced. I am think of something like a C++
preprocessor.
#if language Java
{
< ACTIONS >
}
#else if language C++
{
< ACTIONS >
}
Trey Spiva
Senior Software Engineer
trey.spiva at embarcadero.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20020411/df384404/attachment.html
More information about the antlr-interest
mailing list