[antlr-interest] C++ traceInOut
Ric Klaren
ric.klaren at gmail.com
Tue Nov 8 03:33:30 PST 2005
Derek Pappas wrote:
> I am attempting to get antlr-2.7.5 to compile a
> grammar with the -trace option.
...
> Which compiles but there is only lexer tracing enabled
> during runtime.
>
> The object traceInOut is not used in the parser cpp
> file. I was looking at the CppCodeGenerator.cpp code
> and I see some sections of code with respect to
> traceOut commmented out.
>
> Any hints?
Use -traceLexer -traceParser -traceTreeParser
http://www.antlr.org/doc/options.html#Command%20Line%20Options
Cheers,
Ric
More information about the antlr-interest
mailing list