aboutsummaryrefslogtreecommitdiff
path: root/proofs
diff options
context:
space:
mode:
authorJason Gross2018-09-19 09:32:15 -0400
committerJason Gross2018-09-19 18:43:02 -0400
commit4888eb7ea720eaa34af8df2769fa300f1ea37173 (patch)
treec0776bc016413ba89d226d8fd9828a2d6c47be5e /proofs
parente39c84ff2dc20ce059ee6198e142ca076de8c6cb (diff)
Fix Numeral Notations (2/4 - exceptions, usr_err)
Switch to using exceptions rather than user errors. This will be required because the machinery for printing constrs is not available in notation.ml, so we move the error message printing to himsg.ml instead. This is commit 2/4 in the fix for #8401.
Diffstat (limited to 'proofs')
-rw-r--r--proofs/logic.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/proofs/logic.ml b/proofs/logic.ml
index e8ca719932..613581ade7 100644
--- a/proofs/logic.ml
+++ b/proofs/logic.ml
@@ -62,6 +62,7 @@ let is_unification_error = function
let catchable_exception = function
| CErrors.UserError _ | TypeError _
+ | Notation.NumeralNotationError _
| RefinerError _ | Indrec.RecursionSchemeError _
| Nametab.GlobalizationError _
(* reduction errors *)