summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@mmarkovcorp.com>2017-10-02 10:26:24 -0700
committerOri Bernstein <ori@mmarkovcorp.com>2017-10-02 10:26:24 -0700
commit4146321b9f51fa6a8e9f1e0859d28a69f7c650b8 (patch)
treefdfebf7fe3825e218908c0468b588f1e6de46638
parent28a3d40adca77b14c51a82605fc22ba67ae70752 (diff)
download6as-master.tar.gz
New syntax.HEADmaster
-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),