X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fxml.h;h=45c62aba324dcbe282ece1092978fb7551cc86e4;hb=bfc67c59b44415f2dea7ad068a8ac86e2b19f488;hp=9a7cf17f2849dbae17f9c3e3b479aa69c3ae080a;hpb=52b2d3f683250f7405f0efe14c4f1ff9c064bcf5;p=features.git diff --git a/src/xml.h b/src/xml.h index 9a7cf17f28..45c62aba32 100644 --- a/src/xml.h +++ b/src/xml.h @@ -103,9 +103,13 @@ public: /// that simplifies the logic using this code. bool isLastTagCR() const { return is_last_tag_cr_; }; /// - void writeError(std::string const &) const; + void writeError(std::string const &); /// - void writeError(docstring const &) const; + void writeError(docstring const &); + /// + typedef std::shared_ptr TagPtr; + /// Returns the last element on the tag stack. XMLStream keeps ownership of the item. + TagPtr getLastStackTag(); private: /// void clearTagDeque();