]> matita.cs.unibo.it Git - helm.git/commitdiff
added debug items for enabling/disabling pretty printing notation completely
authorStefano Zacchiroli <zack@upsilon.cc>
Fri, 18 Nov 2005 16:52:13 +0000 (16:52 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Fri, 18 Nov 2005 16:52:13 +0000 (16:52 +0000)
helm/matita/matita.ml

index da09fb27dbea99945d407ad9003bdf7e64efccd3..11ae70642bf6b36c5f59e2b644648ca23522c7e7 100644 (file)
@@ -167,6 +167,12 @@ let _ =
     addDebugItem "print runtime dir"
       (fun _ ->
         prerr_endline BuildTimeConf.runtime_base_dir);
+    addDebugItem "disable all (pretty printing) notations"
+      (fun _ -> CicNotation.set_active_notations []);
+    addDebugItem "enable all (pretty printing) notations"
+      (fun _ ->
+        CicNotation.set_active_notations
+          (List.map fst (CicNotation.get_all_notations ())));
   end
   (** Debugging }}} *)