mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04:00
expand_mmac_params: Don't forget to handle TOK_OTHER
TOK_OTHER is legitime to follow TOK_PREPROC_ID so don't forget to handle it as well.
[ An addition to commit ec88c1beac
]
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
@@ -3746,8 +3746,9 @@ static Token *expand_mmac_params(Token * tline)
|
|||||||
tline->text[0] == '%' && tline->text[1] == '$' &&
|
tline->text[0] == '%' && tline->text[1] == '$' &&
|
||||||
(tok_type_(tline->next, TOK_ID) ||
|
(tok_type_(tline->next, TOK_ID) ||
|
||||||
tok_type_(tline->next, TOK_PREPROC_ID) ||
|
tok_type_(tline->next, TOK_PREPROC_ID) ||
|
||||||
|
tok_type_(tline->next, TOK_FLOAT) ||
|
||||||
tok_type_(tline->next, TOK_NUMBER) ||
|
tok_type_(tline->next, TOK_NUMBER) ||
|
||||||
tok_type_(tline->next, TOK_FLOAT))) {
|
tok_type_(tline->next, TOK_OTHER))) {
|
||||||
/*
|
/*
|
||||||
* In a sake of backward compatibility we allow
|
* In a sake of backward compatibility we allow
|
||||||
* to expand local single macro that early before
|
* to expand local single macro that early before
|
||||||
|
Reference in New Issue
Block a user