From 103f59ed6b8174ed9359cb11c909f1b2219390c9 Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Tue, 9 Oct 2018 23:02:28 +0200 Subject: [toplevel] Split interactive toplevel and compiler binaries. We make `coqc` a truly standalone binary, whereas `coqtop` is restricted to interactive use. Thus, `coqtop -compile` will emit a warning and call `coqc`. We have also refactored `Coqargs` into a common `Coqargs` module and a compilation-specific module `Coqcargs`. This solves problems related to `coqc` having its own argument parsing, and reduces the number of strange argument combinations a lot. --- ide/idetop.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ide') diff --git a/ide/idetop.ml b/ide/idetop.ml index 205f4455a3..e157696294 100644 --- a/ide/idetop.ml +++ b/ide/idetop.ml @@ -546,5 +546,5 @@ let islave_init ~opts extra_args = let () = let open Coqtop in - let custom = { init = islave_init; run = loop; opts = Coqargs.default_opts } in + let custom = { init = islave_init; run = loop; opts = Coqargs.default } in start_coq custom -- cgit v1.2.3