aboutsummaryrefslogtreecommitdiff
path: root/lib/cErrors.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-07-03 09:54:31 +0200
committerGaëtan Gilbert2019-07-03 09:54:31 +0200
commit73999ad6ba6c33783f27ffc705930cbc5c745728 (patch)
treed2d12c00ef94e941bb3392ef119329f9d44d010b /lib/cErrors.ml
parent0cc7e942cd04f7fd28336045e43345b47a48b7a5 (diff)
parent62567575f4639aad44de93a88d9cc425a11d4a9e (diff)
Merge PR #10419: [api] Refactor most of `Decl_kinds`
Reviewed-by: SkySkimmer Ack-by: herbelin
Diffstat (limited to 'lib/cErrors.ml')
-rw-r--r--lib/cErrors.ml3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/cErrors.ml b/lib/cErrors.ml
index a42504701f..8406adfe18 100644
--- a/lib/cErrors.ml
+++ b/lib/cErrors.ml
@@ -39,9 +39,6 @@ let user_err ?loc ?hdr strm = Loc.raise ?loc (UserError (hdr, strm))
let invalid_arg ?loc s = Loc.raise ?loc (Invalid_argument s)
-exception AlreadyDeclared of Pp.t (* for already declared Schemes *)
-let alreadydeclared pps = raise (AlreadyDeclared(pps))
-
exception Timeout
let handle_stack = ref []