Skip to content

Commit e095943

Browse files
ecm-pushbxH. Peter Anvin
authored andcommitted
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 <[email protected]>
1 parent 516fbba commit e095943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asm/preproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7765,7 +7765,7 @@ static Token *pp_tokline(void)
77657765
if (mmac) {
77667766
const Token *t;
77677767
list_for_each(t, tline) {
7768-
if (t->type == TOKEN_PREPROC_ID &&
7768+
if (t->type == TOKEN_MMACRO_PARAM &&
77697769
!memcmp(t->text.a, "%00", 4))
77707770
mmac->capture_label = true;
77717771
}

0 commit comments

Comments
 (0)