From 6ad8d3167c90954970f4015379d93050e3ff8ae8 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 18 Aug 2015 10:02:06 +0200 Subject: Fix macro contents --- src/sc_interp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3