[antlr-interest] C++ traceInOut

Derek Pappas depappas at yahoo.com
Mon Nov 7 16:19:43 PST 2005


Hi,

I am attempting to get antlr-2.7.5 to compile a
grammar with the -trace option. The following code is
inserted into the generated C++ code.

Tracer traceInOut(this "<rule>");

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?

Derek


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the antlr-interest mailing list