qstring: fix unquoting in %pathsearch directive

%pathsearch unquoting should be done on the "t" token, not on the
"tline" token...
This commit is contained in:
H. Peter Anvin 2008-06-01 21:43:03 -07:00
parent 6ecc159a54
commit 427cc912f8

View File

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