]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitac.ml
Use of standard OCaml syntax
[helm.git] / matita / matita / matitac.ml
index d0f5603e58a347655379f812d378fa34fb9483ee..c2291d5754c60cc5cec2619a107a74acb5d98448 100644 (file)
@@ -57,7 +57,7 @@ let main_compiler () =
   let system_mode =  Helm_registry.get_bool "matita.system" in
   if system_mode then HLog.message "Compiling in system space";
   (* here we go *)
-  if not (Helm_registry.get_bool "matita.verbose") then MatitaMisc.shutup ();
+  if not (Helm_registry.get_bool "matita.verbose") then MatitaMiscCli.shutup ();
   if List.fold_left
    (fun b t ->
      (try
@@ -74,9 +74,7 @@ let main_compiler () =
 
 let main () =
   Sys.catch_break true;
-  let bin = Filename.basename Sys.argv.(0) in
-  if Pcre.pmatch ~pat:"^matitaclean"  bin then Matitaclean.main ()
-  else exit (main_compiler ())
+  exit (main_compiler ())
 ;;
 
 let _ = main ()