]> git.saurik.com Git - cycript.git/blobdiff - ObjectiveC/Output.cpp
Avoid frustrating corner-case crashes in readline.
[cycript.git] / ObjectiveC / Output.cpp
index a65e3863ee57f77e05ac79ef7c873f06a2d86214..37f86b1b08dffbd332e9b52f9bb0818265ddcbb0 100644 (file)
@@ -77,6 +77,14 @@ void CYBox::Output(CYOutput &out, CYFlags flags) const {
     value_->Output(out, Precedence(), CYRight(flags));
 }
 
+void CYObjCArray::Output(CYOutput &out, CYFlags flags) const {
+    out << '@' << '[' << elements_ << ']';
+}
+
+void CYObjCDictionary::Output(CYOutput &out, CYFlags flags) const {
+    out << '@' << '{' << '}';
+}
+
 void CYObjCBlock::Output(CYOutput &out, CYFlags flags) const {
     out << '^' << ' ' << *typed_ << ' ' << '(';