]> git.saurik.com Git - cycript.git/commitdiff
Add missing $cym as a bound variable in CYCategory.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 8 Jun 2012 09:51:13 +0000 (02:51 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 8 Jun 2012 09:55:11 +0000 (02:55 -0700)
ObjectiveC/Replace.cpp

index fa8b003f23bc26eace897fe0ad3661269740f4bd..3e267ae2a1d0ce853491eaa80d8e4307cc2bf51b 100644 (file)
@@ -45,7 +45,7 @@ static CYExpression *MessageType(CYContext &context, CYExpression *type, CYMessa
 CYStatement *CYCategory::Replace(CYContext &context) {
     CYVariable *cyc($V("$cyc")), *cys($V("$cys"));
 
-    return $E($C1($F(NULL, $P5($L("$cys"), $L("$cyp"), $L("$cyc"), $L("$cyn"), $L("$cyt")), $$->*
+    return $E($C1($F(NULL, $P6($L("$cys"), $L("$cyp"), $L("$cyc"), $L("$cyn"), $L("$cyt"), $L("$cym")), $$->*
         $E($ CYAssign($V("$cyp"), $C1($V("object_getClass"), cys)))->*
         $E($ CYAssign(cyc, cys))->*
         $E($ CYAssign($V("$cym"), $C1($V("object_getClass"), cyc)))->*