mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
BR 2760773: $$ tokens
The tokenizer didn't handle $$, but relied on token pasting of two $ tokens.
This broke after the improvements in 9bb46df4
.
This commit is contained in:
parent
6125b62403
commit
fb5f2519ad
@ -873,6 +873,9 @@ static Token *tokenize(char *line)
|
||||
/* Handling unterminated strings by UNV */
|
||||
/* type = -1; */
|
||||
}
|
||||
} else if (p[0] == '$' && p[1] == '$') {
|
||||
type = TOK_NUMBER;
|
||||
p += 2;
|
||||
} else if (isnumstart(*p)) {
|
||||
bool is_hex = false;
|
||||
bool is_float = false;
|
||||
|
0
test/br890790.asm
Executable file → Normal file
0
test/br890790.asm
Executable file → Normal file
0
test/br890790_i.asm
Executable file → Normal file
0
test/br890790_i.asm
Executable file → Normal file
0
test/ifelse.asm
Executable file → Normal file
0
test/ifelse.asm
Executable file → Normal file
Loading…
Reference in New Issue
Block a user