]> matita.cs.unibo.it Git - helm.git/commitdiff
added some commented debugging instructions :)
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Tue, 10 Mar 2009 20:16:58 +0000 (20:16 +0000)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Tue, 10 Mar 2009 20:16:58 +0000 (20:16 +0000)
helm/software/matita/applyTransformation.ml

index e741ed70c4ba8c79f1f88488057bd51522487b27..670fd2e0c5d8fb7dd4e87cba43baa41aa4f98253 100644 (file)
@@ -204,7 +204,15 @@ let txt_of_cic_object
             (CicNotationPres.mpres_of_box bobj)
         )
      | G.Procedural depth ->
+(*
+        PO.critical := false;
+       Acic2Procedural.tex_formatter := Some Format.std_formatter;     
+       let _ = ProceduralTeX.tex_of_obj Format.std_formatter obj in
+*)     
        let obj, info = PO.optimize_obj obj in
+(*     
+       let _ = ProceduralTeX.tex_of_obj Format.std_formatter obj in
+*)     
         let aobj, ids_to_inner_sorts, ids_to_inner_types = get_aobj obj in
         let term_pp = term2pres ~map_unicode_to_tex (n - 8) ids_to_inner_sorts in
         let lazy_term_pp = term_pp in
@@ -244,6 +252,9 @@ let discharge_uri style uri =
 let discharge_name s = s ^ "_discharged"
 
 let txt_of_inline_uri ~map_unicode_to_tex style ?flavour prefix suri =
+(*   
+   Ds.debug := true;
+*)
    let print_exc = function
       | ProofEngineHelpers.Bad_pattern s as e ->
            Printexc.to_string e ^ " " ^ Lazy.force s