From: Jay Freeman (saurik) Date: Tue, 27 Oct 2009 22:46:22 +0000 (+0000) Subject: Simplified CYMessage::Replace using $L. X-Git-Tag: v0.9.432~241 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/39f3897f6b8f9593eb528f8bacaae39f746a5b83?ds=sidebyside Simplified CYMessage::Replace using $L. --- diff --git a/ObjectiveC/Replace.mm b/ObjectiveC/Replace.mm index 35ba266..e25ff86 100644 --- a/ObjectiveC/Replace.mm +++ b/ObjectiveC/Replace.mm @@ -95,7 +95,7 @@ CYStatement *CYMessage::Replace(CYContext &context, bool replace) const { $T(NUL $V(instance_ ? "$cyc" : "$cym"), cyn, $N2($V("Functor"), $F(NULL, $P2("self", "_cmd", parameters_->Parameters(context)), $$->* - $ CYVar($ CYDeclarations($ CYDeclaration($I("$cyr"), $N2($V("Super"), self, _class))))->* + $ CYVar($L1($L($I("$cyr"), $N2($V("Super"), self, _class))))->* $ CYReturn($C1($M($F(NULL, NULL, code_), $S("call")), self)) ), cyt), cyt