mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-09 08:51:18 +08:00
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:
parent
6ecc159a54
commit
427cc912f8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user