summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-14 23:27:06 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-14 23:27:06 -0800
commitf5a1454387098fa3abb7bf95f4123e1fac85cb7d (patch)
treec5410430516ebf119d8139c8b599732cbd545d51 /mbld
parent607b2662bc1093833bfea0c49236f098271cf348 (diff)
downloadmc-f5a1454387098fa3abb7bf95f4123e1fac85cb7d.tar.gz
Initial support for void as an expression.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/build.myr2
-rw-r--r--mbld/deps.myr8
-rw-r--r--mbld/test.myr2
3 files changed, 6 insertions, 6 deletions
diff --git a/mbld/build.myr b/mbld/build.myr
index 5c5f758..5607c41 100644
--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -66,7 +66,7 @@ const buildtarg = {b, targ
const addeps = {b, targ, depset
if std.hthas(depset, targ)
- ->
+ -> void
;;
std.htput(depset, targ, true)
diff --git a/mbld/deps.myr b/mbld/deps.myr
index a168c19..9835a4a 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -121,7 +121,7 @@ const dumpgraph = {dg
var keys
if !opt_debug
- ->
+ -> void
;;
keys = std.htkeys(dg.deps)
std.put("digraph dg {{\n")
@@ -137,7 +137,7 @@ const srcdeps = {b, ds, g, path, obj, usefile
var deps
if std.hthas(g.done, path)
- ->
+ -> void
;;
ds.depstk = std.slpush(ds.depstk, path)
@@ -185,7 +185,7 @@ const addusedep = {b, ds, g, f, usefile, line
if opt_debug
std.put("already loaded deps for {}\n", usefile)
;;
- ->
+ -> void
;;
match std.htget(g.input, usefile)
| `std.Some path:
@@ -314,7 +314,7 @@ const scrapelibs = {dg, lib, incs
var done
if std.hthas(dg.libs, lib)
- ->
+ -> void
;;
f = openlib(lib, incs)
diff --git a/mbld/test.myr b/mbld/test.myr
index 3d36c81..dadf8a7 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -72,7 +72,7 @@ const test = {b
;;
std.slfree(tests)
if tests.len == 0
- ->
+ -> void
;;
printfailed(failed)