mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Refactor code that handles when included files are missing
- Single unified routine for erroring out or handling missing dependencies - Single three-state enum instead of two Booleans for missing dependencies (this causes `-MC` to imply `-MG` instead of needing `-MG -MC`) - Functions than can miss included files return a Boolean for whether the parser should `YYACCEPT` and exit
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
error: nonexist-include.asm(1):
|
||||
Unable to open included file 'nonexist-include.inc': No such file or directory
|
||||
Error opening INCLUDE file 'nonexist-include.inc': No such file or directory
|
||||
Assembly aborted with 1 error!
|
||||
|
||||
Reference in New Issue
Block a user