aboutsummaryrefslogtreecommitdiffhomepage
path: root/interp/dumpglob.ml
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2016-09-22 21:59:38 +0200
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2016-09-22 21:59:38 +0200
commit20d6c289bff303ec1a4cab3a56431989d0e527d2 (patch)
tree0a481eb21424fb747f3ebc4241e138b34d782be4 /interp/dumpglob.ml
parent505ac480574d235cd2f40ca4b2debde0bb875146 (diff)
coqc -o now places .glob file near .vo file
All compilation (by)products are placed where -o specifies. Used to be the case for .vo, .vio, .aux but not .glob
Diffstat (limited to 'interp/dumpglob.ml')
-rw-r--r--interp/dumpglob.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/interp/dumpglob.ml b/interp/dumpglob.ml
index 1e14eeb81..b020f8945 100644
--- a/interp/dumpglob.ml
+++ b/interp/dumpglob.ml
@@ -45,10 +45,10 @@ let dump_string s =
if dump () && !glob_output != Feedback then
Pervasives.output_string !glob_file s
-let start_dump_glob vfile =
+let start_dump_glob ~vfile ~vofile =
match !glob_output with
| MultFiles ->
- open_glob_file (Filename.chop_extension vfile ^ ".glob");
+ open_glob_file (Filename.chop_extension vofile ^ ".glob");
output_string !glob_file "DIGEST ";
output_string !glob_file (Digest.to_hex (Digest.file vfile));
output_char !glob_file '\n'