From 1277bbd50e4ee05723483a0f499fa6327abf560f Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 5 Jul 2014 14:15:44 -0700 Subject: [PATCH] Mark the expression before flushing the staging buffer. --- sourcepawn/compiler/sc1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sourcepawn/compiler/sc1.c b/sourcepawn/compiler/sc1.c index 60054bef2..f2931806a 100644 --- a/sourcepawn/compiler/sc1.c +++ b/sourcepawn/compiler/sc1.c @@ -4134,13 +4134,13 @@ static void dodelete() store(&sval.val); } + markexpr(sEXPR, NULL, 0); + cleanup: if (lcl_staging) { stgout(lcl_stgidx); stgset(FALSE); } - - markexpr(sEXPR, NULL, 0); } /**