preproc.c: fix handling of %? and %??

This commit is contained in:
Keith Kanios 2010-11-13 09:34:34 -06:00
parent 5eaff1d2ca
commit 3136d48212

View file

@ -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;