aboutsummaryrefslogtreecommitdiff
path: root/stm/stm.mli
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-11-13 22:51:29 +0100
committerGaëtan Gilbert2018-11-15 15:46:29 +0100
commite47ef6323e7ce4c00ae38a23ed5542059abbda6e (patch)
tree906b00a6e8933cdeec897a8ff03c675e87a3d6bc /stm/stm.mli
parentb6f65c72cce697d7acc11f731983a8c18f497d10 (diff)
coqide: use correct toplevel name in files
Fix #8989. This adds an option -topfile taking a path so that inferring the right dirpath is done by the toplevel after processing -Q/-R instead of the client having to do it.
Diffstat (limited to 'stm/stm.mli')
-rw-r--r--stm/stm.mli4
1 files changed, 3 insertions, 1 deletions
diff --git a/stm/stm.mli b/stm/stm.mli
index 1e5ceb7e23..95117f04f4 100644
--- a/stm/stm.mli
+++ b/stm/stm.mli
@@ -39,13 +39,15 @@ module AsyncOpts : sig
end
+type interactive_top = TopLogical of DirPath.t | TopPhysical of string
+
(** The STM document type [stm_doc_type] determines some properties
such as what uncompleted proofs are allowed and what gets recorded
to aux files. *)
type stm_doc_type =
| VoDoc of string (* file path *)
| VioDoc of string (* file path *)
- | Interactive of DirPath.t (* module path *)
+ | Interactive of interactive_top (* module path *)
(** Coq initalization options: