aboutsummaryrefslogtreecommitdiffhomepage
path: root/printing
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 /printing
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 'printing')
-rw-r--r--printing/ppvernac.ml6
1 files changed, 0 insertions, 6 deletions
diff --git a/printing/ppvernac.ml b/printing/ppvernac.ml
index 5c5b7206a..7df0a0c94 100644
--- a/printing/ppvernac.ml
+++ b/printing/ppvernac.ml
@@ -181,8 +181,6 @@ open Decl_kinds
| BoolValue b -> mt()
in pr_printoption a None ++ pr_opt_value b
- let pr_topcmd _ = str"(* <Warning> : No printer for toplevel commands *)"
-
let pr_opt_hintbases l = match l with
| [] -> mt()
| _ as z -> str":" ++ spc() ++ prlist_with_sep sep str z
@@ -1188,10 +1186,6 @@ open Decl_kinds
++ prlist_with_sep sep (pr_comment pr_constr) l)
)
- (* Toplevel control *)
- | VernacToplevelControl exn ->
- return (pr_topcmd exn)
-
(* For extension *)
| VernacExtend (s,c) ->
return (pr_extend s c)