diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-10-06 17:33:16 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-10-06 17:33:16 +0200 |
| commit | e71a73d0875c416507a3207bdec6fee145a79f68 (patch) | |
| tree | 23bb734234b1e78d59333ef39f6a24937fae8c25 /tests/expected | |
| parent | 4bf12db91feb5db98d65b518dbad0c1a8c6748df (diff) | |
| download | tools.nes-e71a73d0875c416507a3207bdec6fee145a79f68.tar.gz tools.nes-e71a73d0875c416507a3207bdec6fee145a79f68.zip | |
Don't error out on conditional .include
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à <mssola@mssola.com>
Diffstat (limited to 'tests/expected')
| -rw-r--r-- | tests/expected/conditionally_include.nes | bin | 0 -> 17 bytes | |||
| -rw-r--r-- | tests/expected/conditionally_include.txt | 0 | ||||
| -rw-r--r-- | tests/expected/conditionally_include_debug.nes | bin | 0 -> 20 bytes | |||
| -rw-r--r-- | tests/expected/conditionally_include_debug.txt | 0 |
4 files changed, 0 insertions, 0 deletions
diff --git a/tests/expected/conditionally_include.nes b/tests/expected/conditionally_include.nes Binary files differnew file mode 100644 index 0000000..a76a79b --- /dev/null +++ b/tests/expected/conditionally_include.nes diff --git a/tests/expected/conditionally_include.txt b/tests/expected/conditionally_include.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/expected/conditionally_include.txt diff --git a/tests/expected/conditionally_include_debug.nes b/tests/expected/conditionally_include_debug.nes Binary files differnew file mode 100644 index 0000000..d7b8ac5 --- /dev/null +++ b/tests/expected/conditionally_include_debug.nes diff --git a/tests/expected/conditionally_include_debug.txt b/tests/expected/conditionally_include_debug.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/expected/conditionally_include_debug.txt |
