summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emit.myr2
-rw-r--r--encode.myr2
-rw-r--r--main.myr2
3 files changed, 3 insertions, 3 deletions
diff --git a/emit.myr b/emit.myr
index 6bef5e9..a3e69c0 100644
--- a/emit.myr
+++ b/emit.myr
@@ -7,7 +7,7 @@ pkg assem =
const ble = {a
std.put("assembling\n")
- for (name, sym) in std.byhtkeyvals(a.syms)
+ for (name, sym) : std.byhtkeyvals(a.syms)
std.put("sym {}\n", name)
;;
}
diff --git a/encode.myr b/encode.myr
index 87ae334..7ffe006 100644
--- a/encode.myr
+++ b/encode.myr
@@ -35,7 +35,7 @@ const writeenc = {as, op, desc
const __init__ = {
instrmap = std.mkht(std.strhash, std.streq)
- for o in instrtab[:]
+ for o : instrtab[:]
std.htput(instrmap, o.name, o.vlist)
;;
}
diff --git a/main.myr b/main.myr
index ca46868..5fb9a31 100644
--- a/main.myr
+++ b/main.myr
@@ -12,7 +12,7 @@ const main = {args
.argdesc="files...",
])
- for path in cmd.args
+ for path : cmd.args
as = std.mk([
.bits = 64,
.syms = std.mkht(std.strhash, std.streq),