From: Enrico Tassi Date: Wed, 12 Mar 2008 10:37:10 +0000 (+0000) Subject: if -debug is specified do not catch all exceptions X-Git-Tag: make_still_working~5537 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=da26f5476270e7d00f9a03b28b4db886c4557b6d;p=helm.git if -debug is specified do not catch all exceptions --- diff --git a/helm/software/matita/matitacLib.ml b/helm/software/matita/matitacLib.ml index 0af97572e..e5a8efe8f 100644 --- a/helm/software/matita/matitacLib.ml +++ b/helm/software/matita/matitacLib.ml @@ -254,6 +254,7 @@ let compile options fname = | 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 -> 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;