X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/0f07012d6046b615c9f6d070d5db80b6ba794cee..74dde0f879f5c11cfb10e161ec5e4c4f2abbca73:/ObjectiveC/Output.cpp diff --git a/ObjectiveC/Output.cpp b/ObjectiveC/Output.cpp index 658a8f5..6fd2229 100644 --- a/ObjectiveC/Output.cpp +++ b/ObjectiveC/Output.cpp @@ -74,12 +74,6 @@ void CYClassStatement::Output(CYOutput &out, CYFlags flags) const { CYClass::Output(out, flags); } -void CYEncodedType::Output(CYOutput &out, CYFlags flags) const { - out << "@encode("; - // XXX: this is seriously wrong - out << ")"; -} - void CYField::Output(CYOutput &out) const { } @@ -100,6 +94,12 @@ void CYMessage::Output(CYOutput &out, bool replace) const { out << code_; } +void CYModule::Output(CYOutput &out) const { + out << part_; + if (next_ != NULL) + out << '.' << next_; +} + void CYBox::Output(CYOutput &out, CYFlags flags) const { out << '@'; value_->Output(out, Precedence(), CYRight(flags));