diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-06-01 21:43:03 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-06-01 21:43:03 -0700 |
commit | 427cc912f806435c52f205e805088a74b6c04afc (patch) | |
tree | ca4edef5414887878c446c42e33d6b02878fd825 /preproc.c | |
parent | 6ecc159a54c643a46c5682fd9245601c252924f5 (diff) | |
download | nasm-427cc912f806435c52f205e805088a74b6c04afc.tar.gz |
qstring: fix unquoting in %pathsearch directive
%pathsearch unquoting should be done on the "t" token, not on the
"tline" token...
Diffstat (limited to 'preproc.c')
-rw-r--r-- | preproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2679,8 +2679,8 @@ static int do_directive(Token * tline) if (t->next) error(ERR_WARNING, "trailing garbage after `%%pathsearch' ignored"); - p = tline->text; - if (tline->type != TOK_INTERNAL_STRING) + p = t->text; + if (t->type != TOK_INTERNAL_STRING) nasm_unquote(p); fp = inc_fopen(p, &xsl, &xsl, true); |