diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-06-02 11:57:05 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-06-02 20:31:46 +0400 |
commit | 51fd86e0fed8f5162f8c1e45e4ceaf237d6e5539 (patch) | |
tree | da3607d2fba09f5a2722e268c3147ddb43f1c21b /preproc.c | |
parent | ec88c1beac003bd6660037da3cef3aebeee7af20 (diff) | |
download | nasm-51fd86e0fed8f5162f8c1e45e4ceaf237d6e5539.tar.gz nasm-51fd86e0fed8f5162f8c1e45e4ceaf237d6e5539.tar.bz2 nasm-51fd86e0fed8f5162f8c1e45e4ceaf237d6e5539.zip |
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 ec88c1beac00 ]
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'preproc.c')
-rw-r--r-- | preproc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3746,8 +3746,9 @@ static Token *expand_mmac_params(Token * tline) tline->text[0] == '%' && tline->text[1] == '$' && (tok_type_(tline->next, TOK_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_FLOAT))) { + tok_type_(tline->next, TOK_OTHER))) { /* * In a sake of backward compatibility we allow * to expand local single macro that early before |