mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 18:52:07 +00:00
Implement LOAD/ENDL blocks
Basically implements and closes rednex#274.
This commit is contained in:
@@ -578,7 +578,7 @@ void sym_AddReloc(char const *tzSym)
|
||||
nsym->isExported = true;
|
||||
|
||||
nsym->pScope = scope;
|
||||
nsym->pSection = pCurrentSection;
|
||||
nsym->pSection = sect_GetSymbolSection();
|
||||
/* Labels need to be assigned a section, except PC */
|
||||
if (!pCurrentSection && strcmp(tzSym, "@"))
|
||||
yyerror("Label \"%s\" created outside of a SECTION",
|
||||
|
||||
Reference in New Issue
Block a user