mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
Correctly recognize $$ as TOKEN_BASE
This commit is contained in:
parent
585d422f14
commit
7cf897e7ae
@ -1096,7 +1096,7 @@ ppscan(void *private_data, struct tokenval *tokval)
|
||||
|
||||
if (tline->text[0] == '$' && !tline->text[1])
|
||||
return tokval->t_type = TOKEN_HERE;
|
||||
if (tline->text[0] == '$' && tline->text[1] == '$' && !tline->text[1])
|
||||
if (tline->text[0] == '$' && tline->text[1] == '$' && !tline->text[2])
|
||||
return tokval->t_type = TOKEN_BASE;
|
||||
|
||||
if (tline->type == TOK_ID)
|
||||
|
Loading…
Reference in New Issue
Block a user