aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-03-11 03:16:09 +0100
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-03-11 08:59:58 +0100
commit75f569f35fbbbbab5a4629eaf3385335a3024e0b (patch)
tree3faa24d7bec202affef352dff09cbbffbd31b26f /parsing
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 'parsing')
-rw-r--r--parsing/g_vernac.ml44
1 files changed, 0 insertions, 4 deletions
diff --git a/parsing/g_vernac.ml4 b/parsing/g_vernac.ml4
index 72c3cc14a..8543d2b84 100644
--- a/parsing/g_vernac.ml4
+++ b/parsing/g_vernac.ml4
@@ -845,10 +845,6 @@ GEXTEND Gram
| IDENT "Cd" -> VernacChdir None
| IDENT "Cd"; dir = ne_string -> VernacChdir (Some dir)
- (* Toplevel control *)
- | IDENT "Drop" -> VernacToplevelControl Drop
- | IDENT "Quit" -> VernacToplevelControl Quit
-
| IDENT "Load"; verbosely = [ IDENT "Verbose" -> true | -> false ];
s = [ s = ne_string -> s | s = IDENT -> s ] ->
VernacLoad (verbosely, s)