From da26f5476270e7d00f9a03b28b4db886c4557b6d Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Wed, 12 Mar 2008 10:37:10 +0000 Subject: [PATCH] if -debug is specified do not catch all exceptions --- helm/software/matita/matitacLib.ml | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2