mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 18:52:07 +00:00
Prevent purging referenced symbols
This is an immediate fix for #492, although #342 is needed to implement the desired functionality.
This commit is contained in:
@@ -33,6 +33,7 @@ struct sSymbol {
|
||||
bool isConstant; /* Whether the symbol's value is currently known */
|
||||
bool isExported; /* Whether the symbol is to be exported */
|
||||
bool isBuiltin; /* Whether the symbol is a built-in */
|
||||
bool isReferenced; /* Whether the symbol is referenced in a RPN expr */
|
||||
struct sSymbol *pScope;
|
||||
struct sSymbol *pNext;
|
||||
struct Section *pSection;
|
||||
|
||||
Reference in New Issue
Block a user