mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Add test for DEF(@)
This commit is contained in:
@@ -285,6 +285,10 @@ uint32_t sym_isConstant(char *s)
|
||||
{
|
||||
struct sSymbol *psym = sym_FindSymbol(s);
|
||||
|
||||
/* The @ symbol is handled differently */
|
||||
if (psym == pPCSymbol)
|
||||
return pCurrentSection->nOrg != -1;
|
||||
|
||||
return (psym && (psym->nType & SYMF_CONST));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user