summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-08-09 00:25:04 -0700
committerOri Bernstein <ori@eigenstate.org>2017-08-09 00:25:04 -0700
commite15876235e25605e42748c0c85ae13625e90b13a (patch)
tree7ac03c180d585eb95dd037b474c0e1438e766d2e /mbld
parent890ecfa3dc504d7f302faab58722cc196dd0979f (diff)
downloadmc-e15876235e25605e42748c0c85ae13625e90b13a.tar.gz
Misc cleanups.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/build.myr2
-rw-r--r--mbld/test.myr4
2 files changed, 3 insertions, 3 deletions
diff --git a/mbld/build.myr b/mbld/build.myr
index cc7d697..ab46571 100644
--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -16,7 +16,7 @@ const buildtarg = {b, targ
g = b.deps
match std.htget(g.targs, targ)
| `std.Some t: targs = t
- | `std.None: fatal("unknown target: {}\n", targ)
+ | `std.None: std.fatal("unknown target: {}\n", targ)
;;
for t : targs
mark(b, t)
diff --git a/mbld/test.myr b/mbld/test.myr
index f8007b9..292cc58 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -32,7 +32,7 @@ const test = {b, targs
;;
ok = true
failed = [][:]
- for t in tests
+ for t : tests
if !runtest(b, t, &failed)
ok = false
;;
@@ -56,7 +56,7 @@ const test = {b, targs
const printfailed = {failed
if failed.len > 0
mbldput("FAILURES: {}\n", failed.len)
- for t in failed
+ for t : failed
mbldput("\t{}\n", t)
;;
;;