aboutsummaryrefslogtreecommitdiff
path: root/lib/cErrors.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-03-11 03:16:09 +0100
committerEmilio Jesus Gallego Arias2018-03-11 08:59:58 +0100
commit75f569f35fbbbbab5a4629eaf3385335a3024e0b (patch)
tree3faa24d7bec202affef352dff09cbbffbd31b26f /lib/cErrors.ml
parent33c5d8d00cb017c61141ee0d6b7cb8f672a3e691 (diff)
[vernac] Move `Quit` and `Drop` to the toplevel layer.
This is a first step towards moving REPL-specific commands out of the core layers. In particular, we remove `Quit` and `Drop` from the core vernacular to specific toplevel-level parsing rules.
Diffstat (limited to 'lib/cErrors.ml')
-rw-r--r--lib/cErrors.ml4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/cErrors.ml b/lib/cErrors.ml
index 9750221143..811fcf4063 100644
--- a/lib/cErrors.ml
+++ b/lib/cErrors.ml
@@ -47,8 +47,6 @@ exception AlreadyDeclared of Pp.t (* for already declared Schemes *)
let alreadydeclared pps = raise (AlreadyDeclared(pps))
exception Timeout
-exception Drop
-exception Quit
let handle_stack = ref []
@@ -126,7 +124,7 @@ end
let noncritical = function
| Sys.Break | Out_of_memory | Stack_overflow
| Assert_failure _ | Match_failure _ | Anomaly _
- | Timeout | Drop | Quit -> false
+ | Timeout -> false
| Invalid_argument "equal: functional value" -> false
| _ -> true
[@@@ocaml.warning "+52"]