summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level0.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'starts/meaning-vm/level0.cpp')
-rw-r--r--starts/meaning-vm/level0.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/starts/meaning-vm/level0.cpp b/starts/meaning-vm/level0.cpp
index 1dcc4f7..fa33d71 100644
--- a/starts/meaning-vm/level0.cpp
+++ b/starts/meaning-vm/level0.cpp
@@ -17,9 +17,11 @@ int main()
ref skip = alloc();
- a.set(b, c);
- a.link(d, e);
- e.link(b, a);
+ a.link({
+ b, c,
+ d, e
+ });
+ e.set(b, a);
c.link(b, e);
a.vset<int>(numlink, 3);
a.vset<std::function<void()>>(codelink, [](){