Updated BUGS.md
authorLukas Krickl <lukas@krickl.dev>
Fri, 11 Jul 2025 04:23:26 +0000 (06:23 +0200)
committerLukas Krickl <lukas@krickl.dev>
Fri, 11 Jul 2025 04:23:26 +0000 (06:23 +0200)
BUGS.md

diff --git a/BUGS.md b/BUGS.md
index d0dbc0001d8414e5a042e1105de238b7981fc5df..23564d6e077e48c040cc9fba8d40fd89f2461fbf 100644 (file)
--- a/BUGS.md
+++ b/BUGS.md
@@ -5,8 +5,8 @@
 e.g.
 
 ```
-#macro macro
-    ld a, $1
+#macro macro1
+    nop
     other_macro
 #endmacro
 
@@ -15,8 +15,7 @@ e.g.
 #endmacro
 ```
 
-This case seems to work fine if no expansion variable is used.
-With an expansion variable this will result in a parser error.
+This seems to be caused by the new line after the initial line (ld a, $1) being eaten. This likely happens during `pp_proc` that is applied to the already expanded macro.
 
 ## .scc ' ' does not work