]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Parser.h
Remove 3rdparty/boost/Makefile.am
[lyx.git] / src / tex2lyx / Parser.h
index ada6b5f72adbf43402d7a8d3271877156a453366..d28036710e9e4503f2538f0b6cbe2b85afa20612 100644 (file)
@@ -139,7 +139,7 @@ public:
 
        // add to the list of characters to read before actually reading
        // the stream
-       void putback(docstring s);
+       void putback(const docstring &s);
 
        /// Like std::istream::get()
        iparserdocstream & get(char_type &c);
@@ -310,7 +310,7 @@ public:
        ///
        std::string verbatimOption();
        ///
-       void error(std::string const & msg);
+       void error(std::string const & msg) const;
        /// The previous token.
        Token const prev_token() const;
        /// The current token.
@@ -334,7 +334,7 @@ public:
        /// Is any further input pending()? This is not like
        /// std::istream::good(), which returns true if all available input
        /// was read, and the next attempt to read would return EOF.
-       bool good();
+       bool good() const;
        /// resets the parser to initial state
        void reset();