aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Gregory Malecha <gmalecha@gmail.com>2016-02-13 17:37:36 -0800
committerGravatar Maxime Dénès <mail@maximedenes.fr>2016-03-24 17:37:12 +0100
commit866b7539cca2bd48c230bc6ddf3acea89cb1450a (patch)
tree0370d6e79adc848144236bf765131611c64b9f07 /tools
parent396b598ba6984169e4215b1400989c3c67abc1aa (diff)
use printf instead of sequenced calls to print.
Diffstat (limited to 'tools')
-rw-r--r--tools/coq_makefile.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/coq_makefile.ml b/tools/coq_makefile.ml
index ff4b8bd60..80217587d 100644
--- a/tools/coq_makefile.ml
+++ b/tools/coq_makefile.ml
@@ -812,11 +812,11 @@ let merlin targets (ml_inc,_,_) =
print ".merlin:\n";
print "\t@echo 'FLG -rectypes' > .merlin\n" ;
List.iter (fun c ->
- print "\t@echo \"B $(COQLIB)" ; print c ; print "\" >> .merlin\n")
+ printf "\t@echo \"B $(COQLIB) %s\" >> .merlin\n" c)
lib_dirs ;
List.iter (fun (_,c) ->
- print "\t@echo \"B " ; print c ; print "\" >> .merlin\n" ;
- print "\t@echo \"S " ; print c ; print "\" >> .merlin\n")
+ printf "\t@echo \"B %s\" >> .merlin\n" c;
+ printf "\t@echo \"S %s\" >> .merlin\n" c)
ml_inc;
print "\n"