X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/931b816a74a6791a373085a3f53b1dab592baf55..6b8a9500f1b6d0abd641f197b1205846f87fa60b:/Output.cpp?ds=sidebyside diff --git a/Output.cpp b/Output.cpp index edd262f..ecd39bb 100644 --- a/Output.cpp +++ b/Output.cpp @@ -288,10 +288,20 @@ void CYReturn::Output(std::ostream &out) const { void CYSelector::Output(std::ostream &out) const { out << '"'; - out << ""; + if (name_ != NULL) + name_->Output(out); out << '"'; } +void CYSelectorPart::Output(std::ostream &out) const { + if (name_ != NULL) + out << *name_; + if (value_) + out << ':'; + if (next_ != NULL) + next_->Output(out); +} + void CYSource::Show(std::ostream &out) const { for (const CYSource *next(this); next != NULL; next = next->next_) next->Output(out, false);