From ba51bf0b8c39758349299db24e31785acaf3ac51 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Mon, 1 Sep 2008 14:40:30 +0000 Subject: [PATCH] new debugging option --- helm/software/components/ng_kernel/check.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helm/software/components/ng_kernel/check.ml b/helm/software/components/ng_kernel/check.ml index 164e1a223..c1ce42607 100644 --- a/helm/software/components/ng_kernel/check.ml +++ b/helm/software/components/ng_kernel/check.ml @@ -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 -- 2.39.2