diff options
author | Keith Kanios <keith@kanios.net> | 2010-11-13 09:34:34 -0600 |
---|---|---|
committer | Keith Kanios <keith@kanios.net> | 2010-11-13 09:34:34 -0600 |
commit | 3136d48212fdbcff131b84514ecdd6e111c139fc (patch) | |
tree | fe73802215282c4372b22da5d4008ae47dfad32a | |
parent | 5eaff1d2cad9cc8529d6bd641facf36f998d2db0 (diff) | |
download | nasm-3136d48212fdbcff131b84514ecdd6e111c139fc.tar.gz |
preproc.c: fix handling of %? and %??
-rw-r--r-- | preproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |