ref: 98a221d6b68778bfd93c4d263d460cea19adae78
parent: fb22d12b0ff0efba78f8a65362d35cef9726e6c2
author: ISSOtm <eldredhabert0@gmail.com>
date: Wed Jan 8 21:10:48 EST 2020
Add test for `DEF(@)`
--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -285,6 +285,10 @@
{
struct sSymbol *psym = sym_FindSymbol(s);
+ /* The @ symbol is handled differently */
+ if (psym == pPCSymbol)
+ return pCurrentSection->nOrg != -1;
+
return (psym && (psym->nType & SYMF_CONST));
}