From 7145b81b65e257c7f735e33158eff9cd440a0f87 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Thu, 4 Jan 2024 18:29:39 +0100 Subject: [PATCH] Added test for recursive macro calls --- tests/t0.bin | Bin 212 -> 214 bytes tests/t0.s | 11 +++++++++++ 2 files changed, 11 insertions(+) diff --git a/tests/t0.bin b/tests/t0.bin index 03c89e17a30fd94f49614a9effe6dfd1cd4a83a3..2100bc437f2e572d45ed0caa64b14d7d6c2dbdb1 100644 GIT binary patch delta 9 Qcmcb@c#Uzw6(&{|027%58~^|S delta 6 Ncmcb{c!hDo6#xoW0}%iK diff --git a/tests/t0.s b/tests/t0.s index 04c9609..69260b4 100644 --- a/tests/t0.s +++ b/tests/t0.s @@ -143,3 +143,14 @@ l3: .db 1 #endmacro testmacro 1, 2, 3, 4, 5, 6, 7, 8, 60, 61, 62, 63, "test" + +#macro nextlevel +.db $1 +#endmacro + +#macro toplevel +.db $1 +nextlevel 4 +#endmacro + +toplevel 5 -- 2.30.2