From e71a73d0875c416507a3207bdec6fee145a79f68 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 6 Oct 2026 17:33:16 +0200 Subject: Don't error out on conditional .include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The hard requirement that an .include statement cannot be inside of another block was, in the end, a bit short-sighted. Imagine the following block: .ifdef DEBUG .include "debug.s" .endif This is perfectly sound-looking code, and it should not be punished as the developer is doing something that is not bending the assembler in weird ways. Hence, just nuke this check. Signed-off-by: Miquel Sabaté Solà --- tests/expected/conditionally_include.nes | Bin 0 -> 17 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/expected/conditionally_include.nes (limited to 'tests/expected/conditionally_include.nes') diff --git a/tests/expected/conditionally_include.nes b/tests/expected/conditionally_include.nes new file mode 100644 index 0000000..a76a79b Binary files /dev/null and b/tests/expected/conditionally_include.nes differ -- cgit v1.2.3