summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'starts/meaning-vm/main.cpp')
-rw-r--r--starts/meaning-vm/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/starts/meaning-vm/main.cpp b/starts/meaning-vm/main.cpp
index a82a155..1392957 100644
--- a/starts/meaning-vm/main.cpp
+++ b/starts/meaning-vm/main.cpp
@@ -7,9 +7,8 @@ using namespace std;
int main()
{
- r(fruit);
- r(banana);
- r(is);
+ decl(fruit, banana, is);
+
banana->link(is, fruit);
cout << banana << "-" << is << "-" << fruit << endl;
}