Don't assign PC to macro symbols

Macros have nothing to do with the current PC, so this doesn't make any sense.
The value isn't ever used either.
This commit is contained in:
dbrotz committed 2019-05-09 15:01:06 -07:00
1 parent f927c41abb
commit e12e7b2acc
1 file changed
-1
-1
View File
@@ -714,7 +714,6 @@ void sym_AddMacro(char *tzSym)
struct sSymbol *nsym = createNonrelocSymbol(tzSym);
if (nsym) {
nsym->nValue = nPC;
nsym->nType |= SYMF_MACRO | SYMF_DEFINED;
nsym->pScope = NULL;
nsym->ulMacroSize = ulNewMacroSize;