mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 12:02:08 +00:00
Reinstate PUSHS clearing the SECTION scope (#870)
* Reinstate PUSHS clearing the SECTION scope Otherwise you can use `PUSHS` to simulate the old `ds -21`, and possibly cause bugs * Have PUSHS push LOAD block state as well It does not make sense not to, and coud cause bugs.
This commit is contained in:
@@ -53,8 +53,7 @@ struct Assertion {
|
||||
|
||||
char *objectName;
|
||||
|
||||
/* TODO: shouldn't `currentSection` be somewhere else? */
|
||||
struct Section *sectionList, *currentSection;
|
||||
struct Section *sectionList;
|
||||
|
||||
/* Linked list of symbols to put in the object file */
|
||||
static struct Symbol *objectSymbols = NULL;
|
||||
|
||||
Reference in New Issue
Block a user