preproc.c: fix handling of %? and %??
authorKeith Kanios <keith@kanios.net>
Sat, 13 Nov 2010 15:34:34 +0000 (09:34 -0600)
committerKeith Kanios <keith@kanios.net>
Sat, 13 Nov 2010 15:34:34 +0000 (09:34 -0600)
preproc.c

index a572ab3..64daa40 100644 (file)
--- 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;