MatitaDb.create_owner_environment ();
*)
status := Some (ref (Lazy.force MatitaEngine.initial_status));
- at_exit
- (fun () ->
- Http_getter_logger.log "Sync map tree to disk...";
- Http_getter.sync_dump_file ();
- print_endline "\nThanks for using Matita!\n");
Sys.catch_break true;
let fname = fname () in
try
| CicTextualParser2.Parse_error (floc,err) ->
let (x, y) = CicAst.loc_of_floc floc in
MatitaLog.error (sprintf "Parse error at %d-%d: %s" x y err);
- Http_getter.sync_dump_file ();
if mode = `COMPILER then
exit 1
else
pp_ocaml_mode ()
+