X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlex_pimpl.h;h=1f63abc1115d7fcaa4e93306eb16c7a54e78fce4;hb=2523638092e2024bac408eee98ad2094bc4e4089;hp=3090b5d6d9d958734d1e127e8ef46a2ef9747e27;hpb=1a3ed565d95e3d500b26f0e929f4df3d56813421;p=lyx.git diff --git a/src/lyxlex_pimpl.h b/src/lyxlex_pimpl.h index 3090b5d6d9..1f63abc111 100644 --- a/src/lyxlex_pimpl.h +++ b/src/lyxlex_pimpl.h @@ -5,6 +5,7 @@ #include #include +#include #include "lyxlex.h" @@ -13,17 +14,17 @@ #endif /// -struct LyXLex::Pimpl : public noncopyable { +struct LyXLex::Pimpl : boost::noncopyable { /// enum { /// LEX_MAX_BUFF = 2048 }; - + /// Pimpl(keyword_item * tab, int num); /// - string const GetString() const; + string const getString() const; /// void printError(string const & message) const; /// @@ -45,7 +46,7 @@ struct LyXLex::Pimpl : public noncopyable { /// int lex(); /// - bool EatLine(); + bool eatLine(); /// bool nextToken(); /// @@ -54,7 +55,7 @@ struct LyXLex::Pimpl : public noncopyable { std::filebuf fb__; /// the stream that we use. std::istream is; - /// + /// string name; /// keyword_item * table; @@ -63,7 +64,7 @@ struct LyXLex::Pimpl : public noncopyable { /// char buff[LEX_MAX_BUFF]; /// - short status; + int status; /// int lineno; ///