X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2FmatitacLib.ml;h=8808aea22bc71f2c088bab3b6a682c7af9384580;hb=b284579a0c4d45bc8483f295434a465ca685f444;hp=e5a8efe8ff31b2407d3b5cace81b1aebf3e8ce73;hpb=da26f5476270e7d00f9a03b28b4db886c4557b6d;p=helm.git diff --git a/helm/software/matita/matitacLib.ml b/helm/software/matita/matitacLib.ml index e5a8efe8f..8808aea22 100644 --- a/helm/software/matita/matitacLib.ml +++ b/helm/software/matita/matitacLib.ml @@ -248,13 +248,13 @@ let compile options fname = LexiconSync.time_travel ~present:lexicon_status ~past:initial_lexicon_status; clean_exit baseuri false - | MatitaEngine.EnrichedWithLexiconStatus (exn, lex_stat) -> + | MatitaEngine.EnrichedWithLexiconStatus (exn, lex_stat) as exn' -> (match exn with | Sys.Break -> HLog.error "user break!" | HExtlib.Localized (floc,CicNotationParser.Parse_error err) -> let (x, y) = HExtlib.loc_of_floc floc in HLog.error (sprintf "Parse error at %d-%d: %s" x y err) - | exn when matita_debug -> raise exn + | exn when matita_debug -> raise exn' | exn -> HLog.error (snd (MatitaExcPp.to_string exn))); LexiconSync.time_travel ~present:lex_stat ~past:initial_lexicon_status; pp_times fname false big_bang big_bang_u big_bang_s;