ref: 5b6c1569a4e8835f1e3225b90c8c19203a99bc6b
parent: 82e0e4ffaf93f9d577fc21a1d6502d3093b6dca5
author: ISSOtm <[email protected]>
date: Tue Apr 7 07:36:44 EDT 2020
Make failure to open file a fatal error
--- a/src/asm/fstack.c
+++ b/src/asm/fstack.c
@@ -544,8 +544,8 @@
} else {
pCurrentFile = fopen(pFileName, "rb");
if (pCurrentFile == NULL)
- yyerror("Unable to open file '%s': %s", pFileName,
- strerror(errno));
+ fatalerror("Unable to open file '%s': %s", pFileName,
+ strerror(errno));
}
nFileStackDepth = 0;