mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Print symbol namespace paths in context
This commit is contained in:
parent
a027a5cdd8
commit
f7a8e264aa
11 changed files with 196 additions and 72 deletions
|
@ -105,6 +105,16 @@ void PrintLanguage::setCommentDelimeter(const string &start,const string &stop,b
|
|||
}
|
||||
}
|
||||
|
||||
void PrintLanguage::popScope(void)
|
||||
|
||||
{
|
||||
scopestack.pop_back();
|
||||
if (scopestack.empty())
|
||||
curscope = (Scope *)0;
|
||||
else
|
||||
curscope = scopestack.back();
|
||||
}
|
||||
|
||||
/// This generally will recursively push an entire expression onto the RPN stack,
|
||||
/// up to Varnode objects marked as \e explicit, and will decide token order
|
||||
/// and parenthesis placement. As the ordering gets resolved,
|
||||
|
@ -658,10 +668,8 @@ void PrintLanguage::clear(void)
|
|||
mods = modstack.front();
|
||||
modstack.clear();
|
||||
}
|
||||
if (!scopestack.empty()) {
|
||||
curscope = scopestack.front();
|
||||
scopestack.clear();
|
||||
}
|
||||
scopestack.clear();
|
||||
curscope = (const Scope *)0;
|
||||
revpol.clear();
|
||||
pending = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue