浏览代码

[cpp] Remove internal debug output

Hugh 11 年之前
父节点
当前提交
c395b0b533
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gencpp.ml

+ 1 - 1
gencpp.ml

@@ -197,7 +197,7 @@ let new_context common_ctx writer debug file_info =
 	ctx_common = common_ctx;
 	ctx_writer = writer;
 	ctx_output = (writer#write);
-	ctx_dbgout = if debug>0 then (writer#write) else (fun _ -> ());
+	ctx_dbgout = if debug>1 then (writer#write) else (fun _ -> ());
 	ctx_calling = false;
 	ctx_assigning = false;
 	ctx_debug_level = debug;