mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-21 03:22:01 +00:00
Make locals without parent a non-fatal error
This commit is contained in:
1 parent
12ef879860
commit
03fe077b41
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -526,7 +526,7 @@ void sym_AddLocalReloc(char const *tzSym)
|
|||||||
sym_AddReloc(fullname);
|
sym_AddReloc(fullname);
|
||||||
|
|
||||||
} else {
|
} 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):
|
ERROR: local-without-parent.asm(2):
|
||||||
Local label in main scope
|
Local label '.test' in main scope
|
||||||
Reference in new issue
Block a user