mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-3679 Emit equate symbols with "constant" highlighting
This commit is contained in:
parent
87be0574fc
commit
7226bd2264
1 changed files with 2 additions and 0 deletions
|
@ -1832,6 +1832,8 @@ void PrintC::pushSymbol(const Symbol *sym,const Varnode *vn,const PcodeOp *op)
|
|||
tokenColor = EmitMarkup::global_color;
|
||||
else if (sym->getCategory() == Symbol::function_parameter)
|
||||
tokenColor = EmitMarkup::param_color;
|
||||
else if (sym->getCategory() == Symbol::equate)
|
||||
tokenColor = EmitMarkup::const_color;
|
||||
else
|
||||
tokenColor = EmitMarkup::var_color;
|
||||
pushSymbolScope(sym);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue