From: Stefano Zacchiroli Date: Sat, 24 Jan 2004 12:34:41 +0000 (+0000) Subject: debug_print X-Git-Tag: V_0_2_3~148 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=ebc346f535472bc0f5075dac48040ea5ecc40232;p=helm.git debug_print --- diff --git a/helm/gTopLevel/texTermEditor.ml b/helm/gTopLevel/texTermEditor.ml index b89974d71..b5dea9816 100644 --- a/helm/gTopLevel/texTermEditor.ml +++ b/helm/gTopLevel/texTermEditor.ml @@ -23,6 +23,9 @@ * http://cs.unibo.it/helm/. *) +let debug = true +let debug_print s = if debug then prerr_endline s + (******************************************************************************) (* *) (* PROJECT HELM *) @@ -206,7 +209,7 @@ module Make(C:DisambiguateTypes.Callbacks) = | None -> None ) context in -prerr_endline ("###CSC: " ^ (Mathml_editor.get_tex tex_editor)) ; + debug_print ("TexTermEditor: Raw Tex: " ^ (Mathml_editor.get_tex tex_editor)) ; let environment',metasenv,expr = Disambiguate'.disambiguate_term mqi_handle context metasenv (Mathml_editor.get_tex tex_editor) !environment