diff options
| author | Lasse Blaauwbroek | 2020-04-10 19:02:07 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2020-05-12 14:13:51 +0200 |
| commit | bd78f3282f76c31a7579dc667732821a9aac889c (patch) | |
| tree | 5c704a4defe538849e0ebd44dced9d20b96e5c09 /toplevel/coqtop.ml | |
| parent | 007ed9e21f69a157ffff3fa5f990f62ab2756416 (diff) | |
Interleave commandline require/set/unset commands
Diffstat (limited to 'toplevel/coqtop.ml')
| -rw-r--r-- | toplevel/coqtop.ml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml index 7aad856d0a..2d450d430a 100644 --- a/toplevel/coqtop.ml +++ b/toplevel/coqtop.ml @@ -243,13 +243,13 @@ let init_document opts = (* Next line allows loading .vos files when in interactive mode *) Flags.load_vos_libraries := true; let ml_load_path, vo_load_path = build_load_path opts in - let require_libs = require_libs opts in + let injections = injection_commands opts in let stm_options = opts.config.stm_flags in let open Vernac.State in let doc, sid = Stm.(new_doc { doc_type = Interactive opts.config.logic.toplevel_name; - ml_load_path; vo_load_path; require_libs; stm_options; + ml_load_path; vo_load_path; injections; stm_options; }) in { doc; sid; proof = None; time = opts.config.time } @@ -273,7 +273,6 @@ type run_mode = Interactive | Batch let init_toploop opts = let state = init_document opts in let state = Ccompile.load_init_vernaculars opts ~state in - Ccompile.set_options opts.config.set_options; state let coqtop_init run_mode ~opts = |
