aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sc_interp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 10fb7ba..a4a1e84 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -878,9 +878,10 @@ static void exec_macro(SCBlock *bl, SCInterpreter *scin, SCBlock *child)
static void run_macro_contents(SCInterpreter *scin)
{
struct sc_state *st = &scin->state[scin->j];
+ SCBlock *contents = st->macro_contents;
sc_interp_save(scin);
- sc_interp_add_blocks(scin, st->macro_contents);
+ sc_interp_add_blocks(scin, contents);
sc_interp_restore(scin);
}