Explorar o código

[cpp] Remove internal debug output

Hugh %!s(int64=11) %!d(string=hai) anos
pai
achega
c395b0b533
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;