aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-09 14:43:17 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-09 14:43:17 +0100
commita75068e671247b7d82330dfbcb63661673db34d2 (patch)
treecb1326056a322e41f4bf366466264d9fdb75aff6
parentmds-kbdc: bug fixes and test cases (diff)
downloadmds-a75068e671247b7d82330dfbcb63661673db34d2.tar.gz
mds-a75068e671247b7d82330dfbcb63661673db34d2.tar.bz2
mds-a75068e671247b7d82330dfbcb63661673db34d2.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/mds-kbdc/compile-layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mds-kbdc/compile-layout.c b/src/mds-kbdc/compile-layout.c
index fbf7119..bd906d5 100644
--- a/src/mds-kbdc/compile-layout.c
+++ b/src/mds-kbdc/compile-layout.c
@@ -368,6 +368,7 @@ static int call_function(mds_kbdc_tree_t* restrict tree, const char* restrict na
*return_value = builtin_function_invoke(name, arg_count, arguments);
fail_if (*return_value == NULL);
have_side_effect |= is_set;
+ /* XXX ideally, we want to make sure it is in a scope that actually brings side-effects. */
done: