mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-26 13:02:07 +00:00
Make sure that parsed subexpressions are fully defined
We were not initializing some expressions, and they were using the values of the previous expressions instead. This just so happened to not crash the tests, and to sometimes even give valid results (although `BANK()` of a non-label symbol being $4B4E4142, the ASCII balue of "BANK", was something we missed).
This commit is contained in:
@@ -12,4 +12,4 @@ WRAMX_ok (WRAMX): $7 == $7
|
||||
WRAMX_bad (WRAMX): $0 == $0
|
||||
OAM_ok (OAM): $0 == $0
|
||||
HRAM_ok (HRAM): $0 == $0
|
||||
def_sect: $4B4E4142
|
||||
def_sect: $1
|
||||
|
||||
Reference in New Issue
Block a user