]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
add boost
[lyx.git] / src / lyxlex_pimpl.h
index 0acc50974d2b92d6a82a4fd7fa3fd690bf269651..8f92cb70ec30cdb337292f6edeccc4b6e49ff0cf 100644 (file)
@@ -13,7 +13,7 @@
 #endif
 
 ///
-struct LyXLex::Pimpl : public noncopyable {
+struct LyXLex::Pimpl : public boost::noncopyable {
        ///
        enum {
                ///
@@ -37,6 +37,8 @@ struct LyXLex::Pimpl : public noncopyable {
        ///
        void setStream(std::istream & i);
        ///
+       void setCommentChar(char c);
+       ///
        bool next(bool esc = false);
        ///
        int search_kw(char const * const tag) const;
@@ -66,6 +68,8 @@ struct LyXLex::Pimpl : public noncopyable {
        int lineno;
        ///
        string pushTok;
+       ///
+       char commentChar;
 private:
        ///
        void verifyTable();