diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2018-03-11 03:16:09 +0100 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2018-03-11 08:59:58 +0100 |
commit | 75f569f35fbbbbab5a4629eaf3385335a3024e0b (patch) | |
tree | 3faa24d7bec202affef352dff09cbbffbd31b26f /toplevel/vernac.mli | |
parent | 33c5d8d00cb017c61141ee0d6b7cb8f672a3e691 (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 'toplevel/vernac.mli')
-rw-r--r-- | toplevel/vernac.mli | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/toplevel/vernac.mli b/toplevel/vernac.mli index 51758642e..126954023 100644 --- a/toplevel/vernac.mli +++ b/toplevel/vernac.mli @@ -15,6 +15,7 @@ module State : sig doc : Stm.doc; sid : Stateid.t; proof : Proof.t option; + time : bool; } end @@ -23,10 +24,10 @@ end expected to handle and print errors in form of exceptions, however care is taken so the state machine is left in a consistent state. *) -val process_expr : time:bool -> state:State.t -> Vernacexpr.vernac_control CAst.t -> State.t +val process_expr : state:State.t -> Vernacexpr.vernac_control CAst.t -> State.t (** [load_vernac echo sid file] Loads [file] on top of [sid], will echo the commands if [echo] is set. Callers are expected to handle and print errors in form of exceptions. *) -val load_vernac : time:bool -> echo:bool -> check:bool -> interactive:bool -> +val load_vernac : echo:bool -> check:bool -> interactive:bool -> state:State.t -> string -> State.t |