aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Soroka <gits@joesoroka.com>2011-04-08 00:46:32 -0700
committerJoe Soroka <gits@joesoroka.com>2011-04-08 00:46:32 -0700
commit174d61a56e0bede1c78d2da97a02d68ae1003416 (patch)
treeb008327442cee333a285d0436db296cdf9b7138f
parentb714af0405e70bba80395cddc4b02bc495d042bb (diff)
downloadtinycc-174d61a56e0bede1c78d2da97a02d68ae1003416.tar.gz
tinycc-174d61a56e0bede1c78d2da97a02d68ae1003416.tar.bz2
move a comment to its correct location
-rw-r--r--tccgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccgen.c b/tccgen.c
index 67e9b8a..bf5cdaa 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -4378,7 +4378,6 @@ static void block(int *bsym, int *csym, int *case_sym, int *def_sym,
label_pop(&local_label_stack, llabel);
/* pop left-over VLA size expressions */
vtop = pvtop;
- /* pop locally defined symbols */
if(is_expr) {
/* XXX: this solution makes only valgrind happy...
triggered by gcc.c-torture/execute/20000917-1.c */
@@ -4393,6 +4392,7 @@ static void block(int *bsym, int *csym, int *case_sym, int *def_sym,
error("unsupported expression type");
}
}
+ /* pop locally defined symbols */
sym_pop(&local_stack, s);
next();
} else if (tok == TOK_RETURN) {