X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2FmatitacLib.ml;fp=matita%2Fmatita%2FmatitacLib.ml;h=5ae5dbf3b4a1dc8d08a7b97fbb3505dda0825392;hb=de367d0ba895c320f5374d244efe5d10654068d1;hp=b4168ba94ca47fba77bafe84f011cbc9d998bcc2;hpb=939dfce0cb12f7e7760a24d89f6812890b9df431;p=helm.git diff --git a/matita/matita/matitacLib.ml b/matita/matita/matitacLib.ml index b4168ba94..5ae5dbf3b 100644 --- a/matita/matita/matitacLib.ml +++ b/matita/matita/matitacLib.ml @@ -29,8 +29,6 @@ open Printf open GrafiteTypes -exception AttemptToInsertAnAlias of GrafiteDisambiguate.status - let slash_n_RE = Pcre.regexp "\\n" ;; let pp_ast_statement grafite_status stm = @@ -164,16 +162,7 @@ let compile atstart options fname = else pp_ast_statement in let grafite_status = - let rec aux_for_dump x grafite_status = - match - MatitaEngine.eval_from_stream ~include_paths grafite_status buf x - with - | [] -> grafite_status - | (g,None)::_ -> g - | (g,Some _)::_ -> - raise (AttemptToInsertAnAlias (g :> GrafiteDisambiguate.status)) - in - aux_for_dump print_cb grafite_status + MatitaEngine.eval_from_stream ~include_paths grafite_status buf print_cb in let elapsed = Unix.time () -. time in (if Helm_registry.get_bool "matita.moo" then begin @@ -198,13 +187,6 @@ let compile atstart options fname = true) with (* all exceptions should be wrapped to allow lexicon-undo (LS.time_travel) *) - | AttemptToInsertAnAlias lexicon_status -> - pp_times fname false big_bang big_bang_u big_bang_s; -(* - LexiconSync.time_travel - ~present:lexicon_status ~past:initial_lexicon_status; -*) - clean_exit baseuri false | MatitaEngine.EnrichedWithStatus (exn, _grafite) as exn' -> (match exn with | Sys.Break -> HLog.error "user break!"