aboutsummaryrefslogtreecommitdiff
path: root/stm
diff options
context:
space:
mode:
authorEnrico Tassi2020-12-02 11:08:48 +0100
committerEnrico Tassi2020-12-03 13:54:05 +0100
commit065913e830ea7b01a500c523c47dcbcdab980b72 (patch)
tree8e7afce7a6a638a631ef10018c2548eecdebe2fb /stm
parentdb13ff6866731001ad7d3021ab7cb4b3a54cba5c (diff)
[coqide] fix procedure to parse arguments
coqide calls coqidetop -batch, if you are in -async-proof on then coqidetop spawns a worker and passes -batch to it. At some point, I could not find the commit, this made the worker die. On linux it seems it works anyway, but on windows this death is perceived by coqide which then does not start.
Diffstat (limited to 'stm')
-rw-r--r--stm/asyncTaskQueue.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/asyncTaskQueue.ml b/stm/asyncTaskQueue.ml
index 4f04b9fe1c..4c4c26f47e 100644
--- a/stm/asyncTaskQueue.ml
+++ b/stm/asyncTaskQueue.ml
@@ -125,7 +125,7 @@ module Make(T : Task) () = struct
"-async-proofs-worker-priority";
CoqworkmgrApi.(string_of_priority priority)]
(* Options to discard: 0 arguments *)
- | "-emacs"::tl ->
+ | ("-emacs" | "--xml_format=Ppcmds" | "-batch") :: tl ->
set_slave_opt tl
(* Options to discard: 1 argument *)
| ( "-async-proofs" | "-vio2vo" | "-o"