summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Kanios <keith@kanios.net>2010-11-13 09:34:34 -0600
committerKeith Kanios <keith@kanios.net>2010-11-13 09:34:34 -0600
commit3136d48212fdbcff131b84514ecdd6e111c139fc (patch)
treefe73802215282c4372b22da5d4008ae47dfad32a
parent5eaff1d2cad9cc8529d6bd641facf36f998d2db0 (diff)
downloadnasm-3136d48212fdbcff131b84514ecdd6e111c139fc.tar.gz
preproc.c: fix handling of %? and %??
-rw-r--r--preproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/preproc.c b/preproc.c
index a572ab39..64daa40e 100644
--- a/preproc.c
+++ b/preproc.c
@@ -1352,7 +1352,7 @@ static char *detoken(Token * tlist, bool expand_locals)
}
/* Expand %? and %?? directives */
- if (expand_locals && (istk->expansion != NULL) &&
+ if ((istk->expansion != NULL) &&
((t->type == TOK_PREPROC_Q) ||
(t->type == TOK_PREPROC_QQ))) {
ExpInv *ei;