aboutsummaryrefslogtreecommitdiff
path: root/toplevel
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-07-02 14:36:13 +0200
committerGaëtan Gilbert2020-07-02 14:36:13 +0200
commite04fbe4eb39434f50cf6bdf19f6c4be46b73ef44 (patch)
tree8dba5a55cdcbac1921cb08868809d6aa8f2a1279 /toplevel
parent2fc9f27449ed21f2cbb440b4684a56622cb2d064 (diff)
parent4a6a94d60f258bbcbf843af0c60d4c7d810750aa (diff)
Merge PR #12620: [state] Consolidate state handling into Vernacstate
Reviewed-by: SkySkimmer Reviewed-by: gares
Diffstat (limited to 'toplevel')
-rw-r--r--toplevel/coqc.ml2
-rw-r--r--toplevel/coqtop.ml2
2 files changed, 2 insertions, 2 deletions
diff --git a/toplevel/coqc.ml b/toplevel/coqc.ml
index c6bb38e005..03c53d6991 100644
--- a/toplevel/coqc.ml
+++ b/toplevel/coqc.ml
@@ -11,7 +11,7 @@
let outputstate opts =
Option.iter (fun ostate_file ->
let fname = CUnix.make_suffix ostate_file ".coq" in
- Library.extern_state fname) opts.Coqcargs.outputstate
+ Vernacstate.System.dump fname) opts.Coqcargs.outputstate
let coqc_init _copts ~opts =
Flags.quiet := true;
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml
index 2d450d430a..4231915be1 100644
--- a/toplevel/coqtop.ml
+++ b/toplevel/coqtop.ml
@@ -52,7 +52,7 @@ let print_memory_stat () =
let inputstate opts =
Option.iter (fun istate_file ->
let fname = Loadpath.locate_file (CUnix.make_suffix istate_file ".coq") in
- Library.intern_state fname) opts.inputstate
+ Vernacstate.System.load fname) opts.inputstate
(******************************************************************************)
(* Fatal Errors *)