X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8d970b62cee9d13ff4f8fa1b143f461d60284888..23111dca236b4e9ef5351abb990b1e489edf9e05:/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);