From d3df6f7ef58fa3a3b3e8ae9347147153f461b8fe Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Sat, 5 Jul 2025 06:25:45 +0200 Subject: [PATCH] BUGS: Added bug note --- BUGS.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/BUGS.md b/BUGS.md index 97fed4b..d5dc934 100644 --- a/BUGS.md +++ b/BUGS.md @@ -1,2 +1,20 @@ # Known Bugs +## Nested macros break if a macro expansion is used + +e.g. + +``` +#macro macro + ld a, $1 + other_macro +#endmacro + +#macro other_macro + nop +#endmacro +``` + +This case seems to work fine if no expansion variable is used. +With an expansion variable this will result in a parser error. + -- 2.30.2