]> git.saurik.com Git - cycript.git/blobdiff - ObjectiveC/Replace.cpp
Standardized usage of header insulation naming: CYCRIPT_<path.upper().replace('/...
[cycript.git] / ObjectiveC / Replace.cpp
index 35389b9086b84f4832c6c0f68c415742b4e06e54..9d2d1ab72e6bcdf420cc053526bc4eb166f00e67 100644 (file)
@@ -119,7 +119,7 @@ CYExpression *CYSelector::Replace(CYContext &context) {
 
 CYString *CYSelectorPart::Replace(CYContext &context) {
     std::ostringstream str;
-    for (const CYSelectorPart *part(this); part != NULL; part = part->next_) {
+    CYForEach (part, this) {
         if (part->name_ != NULL)
             str << part->name_->Word();
         if (part->value_)