mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-24 19:00:23 +08:00
preproc: fix the expansion of %00 (token type change)
Fix the expansion of the %00 mmacro parameter; broken due to a missing change of the token type. Fixes: https://bugzilla.nasm.us/show_bug.cgi?id=3392803 Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
516fbba03e
commit
e0959432fe
@ -7765,7 +7765,7 @@ static Token *pp_tokline(void)
|
||||
if (mmac) {
|
||||
const Token *t;
|
||||
list_for_each(t, tline) {
|
||||
if (t->type == TOKEN_PREPROC_ID &&
|
||||
if (t->type == TOKEN_MMACRO_PARAM &&
|
||||
!memcmp(t->text.a, "%00", 4))
|
||||
mmac->capture_label = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user