aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@celest.fr>2011-07-31 17:18:19 +0200
committerThomas Preud'homme <thomas.preudhomme@celest.fr>2011-07-31 17:18:19 +0200
commit626a9074512c6c6ba060dc8a4a0d1caa49db76c1 (patch)
tree15e2bed45b4c9e9f875e45b0f3fb78e07f457a88 /tccgen.c
parentb2f5ee9b2de40e26ba3d92cf3950be6da7766b7d (diff)
downloadtinycc-626a9074512c6c6ba060dc8a4a0d1caa49db76c1.tar.gz
tinycc-626a9074512c6c6ba060dc8a4a0d1caa49db76c1.tar.bz2
Revert "Force const. expr. in expr_cond outside function"
This reverts commit b2f5ee9b2de40e26ba3d92cf3950be6da7766b7d as it's useless on mob.
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccgen.c b/tccgen.c
index 9e06118..e488c65 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -4038,7 +4038,7 @@ static void expr_cond(void)
SValue sv;
CType type, type1, type2;
- if (const_wanted || (cur_text_section == NULL)) {
+ if (const_wanted) {
expr_lor_const();
if (tok == '?') {
CType boolean;