You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's worse than that. Any character that can be used in a macro arg can be used in a symbol name using this trick. For example, you can even put spaces in a symbol name. The following code produces a label with the name "xa b".
SECTION "sec", ROM0
m: MACRO
x\1
global x\1
ENDM
m a b
To fix this, we probably want to end the symbol token early and process the rest of the macro arg as separate tokens.
I expected the second label to be defined like the first, without the colon.
The text was updated successfully, but these errors were encountered: