aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/coqc.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/coqc.ml b/scripts/coqc.ml
index 981a3431fb..f458e8dcff 100644
--- a/scripts/coqc.ml
+++ b/scripts/coqc.ml
@@ -91,8 +91,9 @@ let compile command args file =
let oc = open_out tmpfile in
Printf.fprintf oc "Module %s.\n" modulename;
Printf.fprintf oc "Load %s\"%s\".\n"
- (if !verbose then "Verbose " else "") file;
- Printf.fprintf oc "Write Module %s \"%s\".\n" modulename filevo;
+ (if !verbose then "Verbose " else "") (String.escaped file);
+ Printf.fprintf oc "Write Module %s \"%s\".\n" modulename
+ (String.escaped filevo);
flush oc;
close_out oc;
try