X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitacLib.ml;h=d82d3f7555db5a5c8335d62b290b0fc93c36137c;hb=3ea21b6d721c759876aa53385b421cb1412e11f5;hp=5f07aa406df52c7007c9f8e3d0f97636d8fd33a1;hpb=ebc063e65d908c9f35619c92454dbbe76bdabd40;p=helm.git diff --git a/helm/matita/matitacLib.ml b/helm/matita/matitacLib.ml index 5f07aa406..d82d3f755 100644 --- a/helm/matita/matitacLib.ml +++ b/helm/matita/matitacLib.ml @@ -155,7 +155,12 @@ let main ~mode = exit 0 end with - | Sys.Break -> MatitaLog.error "user break!"; exit ~-1 + | Sys.Break -> + MatitaLog.error "user break!"; + if mode = `COMPILER then + exit ~-1 + else + pp_ocaml_mode () | MatitaEngine.Drop -> if mode = `COMPILER then exit 1 @@ -168,4 +173,4 @@ let main ~mode = if mode = `COMPILER then exit 1 else - go () + pp_ocaml_mode ()