aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaxime Dénès2017-04-04 17:22:33 +0200
committerMaxime Dénès2017-04-04 17:22:33 +0200
commitf22c72ff594408c3a3cac04cfee2234a59f2655b (patch)
treeef1b5370fbcd448d063ca92564fba311e424fdf5 /lib
parentea10a2da9ac11ea57e9eb80d0d6baf9321886da4 (diff)
parentbd458575ba7f767e3b939fad5d628a9cb24e6bb2 (diff)
Merge PR#502: [pp] Add anomaly header to error messages.
Diffstat (limited to 'lib')
-rw-r--r--lib/cErrors.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/cErrors.ml b/lib/cErrors.ml
index 99b763602d..1c1ff7e2fd 100644
--- a/lib/cErrors.ml
+++ b/lib/cErrors.ml
@@ -92,9 +92,8 @@ let print_backtrace e = match Backtrace.get_backtrace e with
let print_anomaly askreport e =
if askreport then
- hov 0 (raw_anomaly e ++ spc () ++
- strbrk "Please report at " ++ str Coq_config.wwwbugtracker ++
- str ".")
+ hov 0 (str "Anomaly" ++ spc () ++ quote (raw_anomaly e) ++ spc ()) ++
+ hov 0 (str "Please report at " ++ str Coq_config.wwwbugtracker ++ str ".")
else
hov 0 (raw_anomaly e)