-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use the +/- anonymous labels preceding a macro call #10
Comments
Again, I think the culprit may be your macro. Here is my mock-up of your code, all compiles fine.
|
Thank you for looking into all of them! Not sure how they are not replicable on your side but I'll try to dig more and find better repro steps. The +/- breaking my Macros with a "Cannot redefine +" error happens 100% of the time on my side. Does not matter which macro I use, and all these macros works fine when used without a preceding +/-. Here's more context that maybe matters: the code breaking by using +/- before a macro are inside various block/endblock, and the macros are defined outside of these blocks. |
Just curious, does the layout of the blocks look something like this?
|
Just a final follow-up on this. I believe the issue may have been you were referencing anonymous labels out of scope. Can you confirm? |
Found another issue, something that used to work before but is now throwing an error: whenever I have a "+" or "-" anonymous label on a line where I call a macro, I'm getting this error:
Cannot redefine "+".
For instance:
(note that my macro does not contain a + label, which was my first guess).
Using an anonymous label seems to always work fine if I use it on a non-macro instruction. For instance if I add a "nop" instruction on the + line in the example above, it compiles without errors.
The text was updated successfully, but these errors were encountered: