mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 03:22:08 +00:00
Make locals without parent a non-fatal error
This commit is contained in:
@@ -526,7 +526,7 @@ void sym_AddLocalReloc(char const *tzSym)
|
||||
sym_AddReloc(fullname);
|
||||
|
||||
} else {
|
||||
fatalerror("Local label in main scope");
|
||||
yyerror("Local label '%s' in main scope", tzSym);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
ERROR: local-without-parent.asm(2):
|
||||
Local label in main scope
|
||||
Local label '.test' in main scope
|
||||
|
||||
Reference in New Issue
Block a user