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
I've a had a little bit of a dig around. It looks as though the elseif processing in check_conditional or spool_conditional gets ahead of the macro expansion somehow.
Tracing out the data string that get_expr sees, in the working case, @0 is already expanded out:
7 % 3 == 0
7 % 5 == 0
In the broken case, the .if expression is expanded, but the .elseif expression is not:
Hello,
I seem to have run into a problem trying to create a macro that uses
.elseif
The code below fails with:
broken.asm(14) : Error : [Macro: broken.asm: 8:] Found no label/variable/constant named
The same logic split into nested
.else .if
blocks works as expected.The
.elseif
code works normally outside of macros.Thanks!
The text was updated successfully, but these errors were encountered: