diff options
| author | herbelin | 2011-05-15 11:40:02 +0000 |
|---|---|---|
| committer | herbelin | 2011-05-15 11:40:02 +0000 |
| commit | a5d752138b11efc465d94dadead6852d5e71188e (patch) | |
| tree | 0453b71c92fd5ed44d195fee3f1352a20a74bab0 | |
| parent | aaafa92638be941a8750b1d88f42be69b807e550 (diff) | |
Turning Sys_error into error by default instead of anomaly. After all,
they are in general internal Coq error. If a Coq code needs to catch a
Sys_error for some purpose, it can still do it.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14122 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | toplevel/cerrors.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/cerrors.ml b/toplevel/cerrors.ml index 831e27bed7..ae09b202d0 100644 --- a/toplevel/cerrors.ml +++ b/toplevel/cerrors.ml @@ -37,7 +37,7 @@ let rec explain_exn_default_aux anomaly_string report_fn = function hov 0 (str "Syntax error: " ++ str txt ++ str ".") | Lexer.Error.E err -> hov 0 (str (Lexer.Error.to_string err)) | Sys_error msg -> - hov 0 (anomaly_string () ++ str "uncaught exception Sys_error " ++ str (guill msg) ++ report_fn ()) + hov 0 (str "System error: " ++ str (guill msg)) | Out_of_memory -> hov 0 (str "Out of memory.") | Stack_overflow -> |
