mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-4376 Add setPackedOutput to Emit
This commit is contained in:
parent
d1dc48547e
commit
49af7f2db5
6 changed files with 36 additions and 10 deletions
|
@ -648,12 +648,12 @@ void PrintLanguage::emitLineComment(int4 indent,const Comment *comm)
|
|||
comm->setEmitted(true);
|
||||
}
|
||||
|
||||
/// Tell the emitter whether to emit just the raw tokens or if additional mark-up should be provided.
|
||||
/// \param val is \b true for additional mark-up
|
||||
void PrintLanguage::setMarkup(bool val)
|
||||
/// Select packed or unpacked (XML) output, if the emitter supports it.
|
||||
/// \param val is \b true for packed or \b false for unpacked
|
||||
void PrintLanguage::setPackedOutput(bool val)
|
||||
|
||||
{
|
||||
((EmitPrettyPrint *)emit)->setMarkup(val);
|
||||
emit->setPackedOutput(val);
|
||||
}
|
||||
|
||||
/// Emitting formal code structuring can be turned off, causing all control-flow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue