Revert "Implement INCLUDE_ONCE directive (#1481)"

This reverts commit 5f07095f6d.
This commit is contained in:
Rangi42
2024-09-08 11:30:31 -04:00
parent 5f07095f6d
commit 8cd0e66297
8 changed files with 8 additions and 62 deletions

View File

@@ -1,3 +0,0 @@
INCLUDE_ONCE "include-once.inc"
INCLUDE_ONCE "include-once.inc"
INCLUDE_ONCE "include-link.inc"

View File

@@ -1 +0,0 @@
DEF HELLO EQU 1

View File

@@ -11,12 +11,9 @@ input="$(mktemp)"
output="$(mktemp)"
errput="$(mktemp)"
# Create a symbolic link for the `include-once.asm` test case.
ln include-once.inc include-link.inc
# Immediate expansion is the desired behavior.
# shellcheck disable=SC2064
trap "rm -f ${o@Q} ${gb@Q} ${input@Q} ${output@Q} ${errput@Q} include-link.inc" EXIT
trap "rm -f ${o@Q} ${gb@Q} ${input@Q} ${output@Q} ${errput@Q}" EXIT
tests=0
failed=0