]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
The "I want this in now" patch.
[lyx.git] / src / lyxlex_pimpl.h
index 1f63abc1115d7fcaa4e93306eb16c7a54e78fce4..dd18a1262f70cce19d2ec75f66307fcd80dad229 100644 (file)
@@ -3,24 +3,16 @@
 #ifndef LYXLEX_PIMPL_H
 #define LYXLEX_PIMPL_H
 
-#include <fstream>
-#include <stack>
-#include <boost/utility.hpp>
-
 #include "lyxlex.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include <boost/utility.hpp>
+
+#include <fstream>
+#include <stack>
+#include <vector>
 
 ///
 struct LyXLex::Pimpl : boost::noncopyable {
-       ///
-       enum {
-               ///
-               LEX_MAX_BUFF = 2048
-       };
-
        ///
        Pimpl(keyword_item * tab, int num);
        ///
@@ -62,7 +54,7 @@ struct LyXLex::Pimpl : boost::noncopyable {
        ///
        int no_items;
        ///
-       char buff[LEX_MAX_BUFF];
+       std::vector<char> buff;
        ///
        int status;
        ///