diff options
| author | Maxime Dénès | 2019-05-23 17:33:05 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2019-05-23 17:33:05 +0200 |
| commit | 6dadcffd83b034c177d1e8d2153b51e306138333 (patch) | |
| tree | 68ba4c206e322f6bc4bfc50165fc861677d12064 /stm | |
| parent | e7628797fc241a4d7a5c1a5675cb679db282050d (diff) | |
| parent | c4b23f08247cb6a91b585f9b173934bbe3994b43 (diff) | |
Merge PR #9895: [loadpath] Make loadpath handling self-contained and move to vernac
Reviewed-by: maximedenes
Diffstat (limited to 'stm')
| -rw-r--r-- | stm/stm.ml | 4 | ||||
| -rw-r--r-- | stm/stm.mli | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/stm/stm.ml b/stm/stm.ml index fc539b5208..d469994f3f 100644 --- a/stm/stm.ml +++ b/stm/stm.ml @@ -2670,7 +2670,7 @@ type stm_init_options = { (* Initial load path in scope for the document. Usually extracted from -R options / _CoqProject *) - iload_path : Mltop.coq_path list; + iload_path : Loadpath.coq_path list; (* Require [require_libs] before the initial state is ready. Parameters follow [Library], that is to say, @@ -2728,7 +2728,7 @@ let new_doc { doc_type ; iload_path; require_libs; stm_options } = (* Set load path; important, this has to happen before we declare the library below as [Declaremods/Library] will infer the module name by looking at the load path! *) - List.iter Mltop.add_coq_path iload_path; + List.iter Loadpath.add_coq_path iload_path; Safe_typing.allow_delayed_constants := !cur_opt.async_proofs_mode <> APoff; diff --git a/stm/stm.mli b/stm/stm.mli index a0bbe05b3a..24c672c973 100644 --- a/stm/stm.mli +++ b/stm/stm.mli @@ -69,7 +69,7 @@ type stm_init_options = { (* Initial load path in scope for the document. Usually extracted from -R options / _CoqProject *) - iload_path : Mltop.coq_path list; + iload_path : Loadpath.coq_path list; (* Require [require_libs] before the initial state is ready. Parameters follow [Library], that is to say, |
