summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level2.cpp
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-05 13:19:08 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2020-01-05 13:19:08 -0800
commit2434ac8c0da3151c4c72ce8c86a9fecbdfcb1f8d (patch)
treefaa284d8332caa83613d5886b4c66963a08aecf4 /starts/meaning-vm/level2.cpp
parent028c06b452f45df329116c0d0017ad2cd8ee2acc (diff)
downloadstandingwithresilience-2434ac8c0da3151c4c72ce8c86a9fecbdfcb1f8d.tar.gz
standingwithresilience-2434ac8c0da3151c4c72ce8c86a9fecbdfcb1f8d.zip
runs without crashing, runtime errors next
Diffstat (limited to 'starts/meaning-vm/level2.cpp')
-rw-r--r--starts/meaning-vm/level2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/starts/meaning-vm/level2.cpp b/starts/meaning-vm/level2.cpp
index e3a7ab9..c8080e6 100644
--- a/starts/meaning-vm/level2.cpp
+++ b/starts/meaning-vm/level2.cpp
@@ -575,7 +575,7 @@ void parse(ref stream)
if (values.count(argname.name())) {
neededmap.link(arg, argname);
} else {
- knownmap.link(arg, lookup(argname.get("name")));
+ knownmap.link(arg, lookup(argname));
}
}
dealloc(stream2, intellect::level0::concepts::allocations());