From 866b7539cca2bd48c230bc6ddf3acea89cb1450a Mon Sep 17 00:00:00 2001 From: Gregory Malecha Date: Sat, 13 Feb 2016 17:37:36 -0800 Subject: use printf instead of sequenced calls to print. --- tools/coq_makefile.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/coq_makefile.ml b/tools/coq_makefile.ml index ff4b8bd600..80217587d5 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" -- cgit v1.2.3