aboutsummaryrefslogtreecommitdiff
path: root/toplevel/coqargs.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 /toplevel/coqargs.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 'toplevel/coqargs.mli')
-rw-r--r--toplevel/coqargs.mli4
1 files changed, 3 insertions, 1 deletions
diff --git a/toplevel/coqargs.mli b/toplevel/coqargs.mli
index accb6c2beb..b709788dde 100644
--- a/toplevel/coqargs.mli
+++ b/toplevel/coqargs.mli
@@ -11,6 +11,8 @@
type compilation_mode = BuildVo | BuildVio | Vio2Vo
type color = [`ON | `AUTO | `OFF]
+val default_toplevel : Names.DirPath.t
+
type coq_cmdopts = {
load_init : bool;
@@ -26,7 +28,7 @@ type coq_cmdopts = {
batch_mode : bool;
compilation_mode : compilation_mode;
- toplevel_name : Names.DirPath.t;
+ toplevel_name : Stm.interactive_top;
compile_list: (string * bool) list; (* bool is verbosity *)
compilation_output_name : string option;