mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-29 15:41:45 +00:00
Merge remote-tracking branch 'origin/GP-1006_LockEquates' into Ghidra_10.0
This commit is contained in:
commit
47e1809c08
@ -1969,6 +1969,12 @@ void ScopeInternal::clearUnlocked(void)
|
||||
if (sym->isSizeTypeLocked())
|
||||
resetSizeLockType(sym);
|
||||
}
|
||||
else if (sym->getCategory() == 1) {
|
||||
// Note we treat EquateSymbols as locked for purposes of this method
|
||||
// as a typelock (which traditionally prevents a symbol from being cleared)
|
||||
// does not make sense for an equate
|
||||
continue;
|
||||
}
|
||||
else
|
||||
removeSymbol(sym);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user