X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/bfd79faeaedfb0028661b7ad25a496def9d1f454..b23692f3038296c94d25c84c55ed4c1bb49619cf:/Output.cpp diff --git a/Output.cpp b/Output.cpp index 4506db6..22e2149 100644 --- a/Output.cpp +++ b/Output.cpp @@ -408,6 +408,13 @@ void CYForIn::Output(CYOutput &out, CYFlags flags) const { code_->Single(out, CYRight(flags), CYCompactShort); } +void CYForInitialized::Output(CYOutput &out, CYFlags flags) const { + out << "for" << ' ' << '(' << "var" << ' '; + declaration_->Output(out, CYNoIn | CYNoRightHand); + out << ' ' << "in" << ' ' << *set_ << ')'; + code_->Single(out, CYRight(flags), CYCompactShort); +} + void CYForInComprehension::Output(CYOutput &out) const { out << "for" << ' ' << '('; declaration_->Output(out, CYNoIn | CYNoRightHand);