summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-2/sugar.hpp
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-14 11:48:23 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-14 11:48:23 -0800
commit0a59d8631e2acb20601e72c6f79d7ce193633844 (patch)
treee8c1292049fd1c6d6b3702bb944d830fc5a9655d /starts/meaning-vm/level-2/sugar.hpp
parentec53662abe09a3ee1502e6ee7042d4ee84f36d1c (diff)
downloadstandingwithresilience-0a59d8631e2acb20601e72c6f79d7ce193633844.tar.gz
standingwithresilience-0a59d8631e2acb20601e72c6f79d7ce193633844.zip
missing changes
Diffstat (limited to 'starts/meaning-vm/level-2/sugar.hpp')
-rw-r--r--starts/meaning-vm/level-2/sugar.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/starts/meaning-vm/level-2/sugar.hpp b/starts/meaning-vm/level-2/sugar.hpp
index bff945b..5b3b150 100644
--- a/starts/meaning-vm/level-2/sugar.hpp
+++ b/starts/meaning-vm/level-2/sugar.hpp
@@ -32,8 +32,10 @@
usleep(delay); \
} \
ref self = name; (void)self; \
+ ref result("nothing"); (void)result; \
_macro_call(_macro_for_each_parens, _macro_habit_set_posarg, _macro_habit_set_posarg _macro_comma_remove_parens(argnametoklist)); \
__VA_ARGS__ \
+ if (result != ref("nothing")) { ctx.link(ref("result"), result); }
});
#define _macro_habit_argnameref(name, tok) \
ref(#name)