X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/0d56ef32c43d7df2033a687afae4c5b2b13e68c1..d5618df7c804163dceb3eb48e5406aeb9de79c96:/Output.cpp?ds=sidebyside diff --git a/Output.cpp b/Output.cpp index 752d8a9..53d5bfe 100644 --- a/Output.cpp +++ b/Output.cpp @@ -356,14 +356,14 @@ void CYFor::Output(CYOutput &out, CYFlags flags) const { code_->Single(out, CYRight(flags)); } -void CYForEachIn::Output(CYOutput &out, CYFlags flags) const { +void CYForOf::Output(CYOutput &out, CYFlags flags) const { out << "for" << ' ' << "each" << ' ' << '('; initialiser_->ForIn(out, CYNoIn); out << "in" << *set_ << ')'; code_->Single(out, CYRight(flags)); } -void CYForEachInComprehension::Output(CYOutput &out) const { +void CYForOfComprehension::Output(CYOutput &out) const { out << "for" << ' ' << "each" << ' ' << '(' << *name_ << ' ' << "in" << ' ' << *set_ << ')' << next_; }