X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/c2c9f509581b8c8e78b5745498c782ef1affd51a..8d7447c170dd11c91d0a07768f32a2699177fa54:/ObjectiveC/Output.mm diff --git a/ObjectiveC/Output.mm b/ObjectiveC/Output.mm index e406493..43172e2 100644 --- a/ObjectiveC/Output.mm +++ b/ObjectiveC/Output.mm @@ -1,5 +1,5 @@ /* Cycript - Optimizing JavaScript Compiler/Runtime - * Copyright (C) 2009-2010 Jay Freeman (saurik) + * Copyright (C) 2009-2012 Jay Freeman (saurik) */ /* GNU Lesser General Public License, Version 3 {{{ */ @@ -95,6 +95,11 @@ void CYMessage::Output(CYOutput &out, bool replace) const { out << code_; } +void CYBox::Output(CYOutput &out, CYFlags flags) const { + out << '@'; + value_->Output(out, Precedence(), CYRight(flags)); +} + void CYProtocol::Output(CYOutput &out) const { name_->Output(out, CYAssign::Precedence_, CYNoFlags); if (next_ != NULL)