diff --git a/x65.cpp b/x65.cpp index 79bfdab..3125ffc 100644 --- a/x65.cpp +++ b/x65.cpp @@ -3982,6 +3982,7 @@ StatusCode Asm::AssignPoolLabel(LabelPool &pool, strref label) pLabel->reference = false; MarkLabelLocal(label, true); + LabelAdded(pLabel, !!pool.scopeDepth); return error; } @@ -4014,7 +4015,7 @@ StatusCode LabelPool::Reserve(int numBytes, unsigned int &ret_addr) for (int b = 0; b>= 30; addr_map++; } else { m = _m; } } ret_addr = addr; return STATUS_OK;