summaryrefslogtreecommitdiff
path: root/mbld/deps.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-01-11 11:24:31 -0800
committerOri Bernstein <ori@markovcorp.com>2017-01-11 11:24:31 -0800
commit14d657bd447f9384130ba321324052d94a420ca1 (patch)
tree359724b743ec2956630542eb040436a838023b3f /mbld/deps.myr
parent8a92415ad8220c1f651b0ed6338efb072e848d5c (diff)
downloadmc-14d657bd447f9384130ba321324052d94a420ca1.tar.gz
Suppress prints when doing '-R'
Diffstat (limited to 'mbld/deps.myr')
-rw-r--r--mbld/deps.myr10
1 files changed, 5 insertions, 5 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index 839dfe8..0b66b5b 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -124,13 +124,13 @@ const dumpgraph = {dg
-> void
;;
keys = std.htkeys(dg.deps)
- std.put("digraph dg {{\n")
+ mbldput("digraph dg {{\n")
for k in keys
for v in std.htgetv(dg.deps, k, ["WTFUNKNOWN!"][:])
- std.put("\t\"{}\" -> \"{}\";\n", k, v)
+ mbldput("\t\"{}\" -> \"{}\";\n", k, v)
;;
;;
- std.put("}\n")
+ mbldput("}\n")
}
const srcdeps = {b, ds, g, path, obj, usefile
@@ -183,7 +183,7 @@ const addusedep = {b, ds, g, f, usefile, line
if std.hthas(g.done, usefile)
if opt_debug
- std.put("already loaded deps for {}\n", usefile)
+ mbldput("already loaded deps for {}\n", usefile)
;;
-> void
;;
@@ -408,7 +408,7 @@ const pushdep = {dg, src, dst
var sl
if opt_debug
- std.put("{} <= {}\n", dst, src)
+ mbldput("{} <= {}\n", dst, src)
;;
sl = std.htgetv(dg.deps, dst, [][:])
std.slpush(&sl, src)