]> git.lyx.org Git - features.git/blobdiff - src/tex2lyx/Parser.h
Implement Hungarian quotation marks style (#12040)
[features.git] / src / tex2lyx / Parser.h
index 41384599c25bd5da1d5abf7760aceab7e8e2ffe6..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.