BUGS: Added bug note
authorLukas Krickl <lukas@krickl.dev>
Sat, 5 Jul 2025 04:25:45 +0000 (06:25 +0200)
committerLukas Krickl <lukas@krickl.dev>
Sat, 5 Jul 2025 04:25:45 +0000 (06:25 +0200)
BUGS.md

diff --git a/BUGS.md b/BUGS.md
index 97fed4bb3c2cd7208d7f622b85bf5a07b4f4123b..d5dc934159fd33dd952749fbda7bef9db5cbd421 100644 (file)
--- 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.
+