diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-05-30 21:30:33 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-05-30 21:30:33 +0000 |
commit | 7cf897e7aeff61444c911997056024180d98b53b (patch) | |
tree | b0625471f3b8ed53dd2e1083f7867365e5e0c9a1 | |
parent | 585d422f147d2be8ac3301ab3c3436c35944ec47 (diff) | |
download | nasm-7cf897e7aeff61444c911997056024180d98b53b.tar.gz |
Correctly recognize $$ as TOKEN_BASE
-rw-r--r-- | preproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |