Commit 5368e45
H. Peter Anvin (Intel)
preproc: fix pasting of TOKEN_HERE, TOKEN_BASE and TOKEN_QMARK
Make the pasting behavior of TOKEN_QMARK, TOKEN_HERE and TOKEN_BASE
match the NASM 2.15 behavior: ? is a keyword and pastes as an ID, $
and $$ are treated as operators (which doesn't seem to make much
sense, but it is the current legacy behavior.)
Reported-by: C. Masloch <[email protected]>
Bugzilla: https://bugzilla.nasm.us/show_bug.cgi?id=3392733
Signed-off-by: H. Peter Anvin (Intel) <[email protected]>1 parent 6d95cc8 commit 5368e45
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
1478 | 1478 | | |
1479 | 1479 | | |
1480 | 1480 | | |
1481 | | - | |
| 1481 | + | |
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
| |||
4907 | 4907 | | |
4908 | 4908 | | |
4909 | 4909 | | |
4910 | | - | |
| 4910 | + | |
| 4911 | + | |
4911 | 4912 | | |
4912 | 4913 | | |
4913 | 4914 | | |
| |||
4922 | 4923 | | |
4923 | 4924 | | |
4924 | 4925 | | |
| 4926 | + | |
| 4927 | + | |
| 4928 | + | |
| 4929 | + | |
| 4930 | + | |
4925 | 4931 | | |
4926 | 4932 | | |
4927 | 4933 | | |
| |||
0 commit comments