X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8f56307d1b60c56cc3525ec3bb51716bd503ca2f..b900e1a43acf792e7eaccff2418919d02382cd3c:/Output.cpp?ds=inline diff --git a/Output.cpp b/Output.cpp index c06f757..9ec05c2 100644 --- a/Output.cpp +++ b/Output.cpp @@ -183,13 +183,6 @@ void Catch::Output(CYOutput &out) const { } } -void CYComment::Output(CYOutput &out, CYFlags flags) const { - out << '\r'; - out(value_); - out.right_ = true; - out << '\r'; -} - void CYCompound::Output(CYOutput &out, CYFlags flags) const { if (next_ == NULL) expression_->Output(out, flags); @@ -510,6 +503,10 @@ void CYStatement::Output(CYOutput &out) const { Multiple(out); } +void CYTemplate::Output(CYOutput &out, CYFlags flags) const { + _assert(false); +} + void CYTypeArrayOf::Output(CYOutput &out, CYIdentifier *identifier) const { next_->Output(out, Precedence(), identifier); out << '['; @@ -653,7 +650,7 @@ void CYPrefix::Output(CYOutput &out, CYFlags flags) const { rhs_->Output(out, Precedence(), CYRight(flags)); } -void CYProgram::Output(CYOutput &out) const { +void CYScript::Output(CYOutput &out) const { out << code_; }