From 626a9074512c6c6ba060dc8a4a0d1caa49db76c1 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sun, 31 Jul 2011 17:18:19 +0200 Subject: [PATCH] Revert "Force const. expr. in expr_cond outside function" This reverts commit b2f5ee9b2de40e26ba3d92cf3950be6da7766b7d as it's useless on mob. --- tccgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tccgen.c b/tccgen.c index 9e061186..e488c650 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; -- 2.11.4.GIT