aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharguer2019-10-25 13:52:31 +0200
committerPierre-Marie Pédrot2019-11-01 12:16:50 +0100
commit667dc05ce35d45303662598f1e6b1923631431f4 (patch)
tree71a853118518e688bba9fc0aedd7fe948063463b
parent5efdfe979fd316372c59d9406fa7ade46aa6814a (diff)
a tentative patch to allow interactive session to load .vos files; (recall that the generation of a .vo files induces the creation of an empty .vos file.)
-rw-r--r--toplevel/coqtop.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml
index eded9f4bcd..309f5b657a 100644
--- a/toplevel/coqtop.ml
+++ b/toplevel/coqtop.ml
@@ -271,6 +271,8 @@ let init_document opts =
state before we take the first snapshot. This was not
guaranteed in the past, but now is thanks to the STM API.
*)
+ (* Next line allows loading .vos files when in interactive mode *)
+ Flags.load_vos_libraries := true;
let iload_path = build_load_path opts in
let require_libs = require_libs opts in
let stm_options = opts.config.stm_flags in