From 82e6bf4b654f667ae71acd9667ab1524fba6af93 Mon Sep 17 00:00:00 2001 From: guanglei Date: Fri, 9 Jun 2006 09:20:03 +0000 Subject: Revert my former changes to lket_trace_extra() in translator. a new way of allowing user add arbitrary trace data. And also provide a way of letting user write the trace data format. --- translate.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'translate.cxx') diff --git a/translate.cxx b/translate.cxx index eb64d9d0..967949a4 100644 --- a/translate.cxx +++ b/translate.cxx @@ -3591,10 +3591,7 @@ c_unparser::visit_print_format (print_format* e) if (e->print_to_stream) { o->newline() << res.qname() << " = 0;"; - if(e->lket_trace_extra) - o->newline() << "_lket_trace_extra ("; - else - o->newline() << "_stp_printf ("; + o->newline() << "_stp_printf ("; } else o->newline() << "_stp_snprintf (" << res.qname() << ", MAXSTRINGLEN, "; -- cgit