X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/690cf1a8442f51ef6d03d9a0a4fb4ee2e9bb714d..28b3d5a4ad96c5f2320bcb7618f03a39acb15127:/Output.cpp diff --git a/Output.cpp b/Output.cpp index 084bf71..3bf157f 100644 --- a/Output.cpp +++ b/Output.cpp @@ -474,6 +474,11 @@ void CYLabel::Output(CYOutput &out, CYFlags flags) const { statement_->Single(out, CYRight(flags)); } +void CYTypedIdentifier::Output(CYOutput &out) const { + // XXX: this is clearly wrong + out << "XXX"; +} + void CYLambda::Output(CYOutput &out, CYFlags flags) const { // XXX: this is seriously wrong out << "[]("; @@ -482,6 +487,10 @@ void CYLambda::Output(CYOutput &out, CYFlags flags) const { out << "}"; } +void CYTypeDefinition::Output(CYOutput &out, CYFlags flags) const { + out << "typedef" << *typed_; +} + void CYLetStatement::Output(CYOutput &out, CYFlags flags) const { out << "let" << ' ' << '(' << *declarations_ << ')'; code_->Single(out, CYRight(flags));