]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
fix "make dist" target
[lyx.git] / src / lyxlex_pimpl.h
index 0acc50974d2b92d6a82a4fd7fa3fd690bf269651..ae7cbf7fd9faf31b6d30fee58cfdeca2c2050b39 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <fstream>
 #include <stack>
+#include <boost/utility.hpp>
 
 #include "lyxlex.h"
 
@@ -13,7 +14,7 @@
 #endif
 
 ///
-struct LyXLex::Pimpl : public noncopyable {
+struct LyXLex::Pimpl : boost::noncopyable {
        ///
        enum {
                ///
@@ -37,6 +38,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 +69,8 @@ struct LyXLex::Pimpl : public noncopyable {
        int lineno;
        ///
        string pushTok;
+       ///
+       char commentChar;
 private:
        ///
        void verifyTable();