Add test for DEF(@)

This commit is contained in:
ISSOtm
2020-01-09 02:10:48 +01:00
parent fb22d12b0f
commit 98a221d6b6

View File

@@ -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));
}