BUG: Fixed macro expansion bug that consumed new lines in nested macros
authorLukas Krickl <lukas@krickl.dev>
Fri, 11 Jul 2025 04:53:24 +0000 (06:53 +0200)
committerLukas Krickl <lukas@krickl.dev>
Fri, 11 Jul 2025 04:53:24 +0000 (06:53 +0200)
commit57fea9be9f1299c769582a948a0b8d8cf061d005
tree5b6268226ff651f05add1316f43d3a2d6eb72b74
parent117d2f39afa001f6d844c040128813883c8ede57
BUG: Fixed macro expansion bug that consumed new lines in nested macros

This was fixed by simply appending new lines to the start of the
expansion list when a nested macro is used.
This is not an ideal fix. The root cause of the macro going missing
surely is in another place, however this is a decent enough solution
for now. If the root cause of new lines being dropped in this case this
  commit should be reverted.
BUGS.md
src/test.c
src/ulas.c
tests/t0.bin
tests/t0.s
tests/t0_dasm.s