]> matita.cs.unibo.it Git - helm.git/commitdiff
new debugging option
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 1 Sep 2008 14:40:30 +0000 (14:40 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 1 Sep 2008 14:40:30 +0000 (14:40 +0000)
helm/software/components/ng_kernel/check.ml

index 164e1a223c5eb1ae372ef3e9e4ec70041c98414e..c1ce4260794ce9bb4388dc6a3f756f34eaa2ab5b 100644 (file)
@@ -15,6 +15,7 @@ let debug = true
 let ignore_exc = false
 let rank_all_dependencies = false
 let trust_environment = false
+let print_object = false
 
 let indent = ref 0;;
 
@@ -173,7 +174,7 @@ let _ =
     let uu= OCic2NCic.nuri_of_ouri uu in
     indent := 0;
     let o = NCicLibrary.get_obj uu in
-       prerr_endline (NCicPp.ppobj o); 
+    if print_object then prerr_endline (NCicPp.ppobj o); 
     try 
       NCicTypeChecker.typecheck_obj o
     with