summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-01 12:32:35 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-01 12:32:35 -0700
commit5d68f9823e6a4198b8fec73b03c1d0125a2aa6a8 (patch)
tree3afb0e68ef1b345ee363ced135a8916d7a56a49a /test
parent6e71496e3c8a12838b8e21b97d48746830a07c06 (diff)
downloadnasm-5d68f9823e6a4198b8fec73b03c1d0125a2aa6a8.tar.gz
preproc: error out if an include file exists but can't be opened
If an include file exists, but cannot be opened, that is still a critical error. However, downgrade this from a fatal to a nonfatal error. There really isn't any reason to stop cold here. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'test')
-rw-r--r--test/include-self.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/include-self.asm b/test/include-self.asm
new file mode 100644
index 00000000..234e8ea4
--- /dev/null
+++ b/test/include-self.asm
@@ -0,0 +1,2 @@
+; Test an infinite %include loop
+%include "include-self.asm"