]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
Alfredo's second patch
[lyx.git] / src / lyxlex_pimpl.h
index d0ec72e4567c7c586b04cf7fc24507860c3d4f87..dd18a1262f70cce19d2ec75f66307fcd80dad229 100644 (file)
@@ -9,15 +9,10 @@
 
 #include <fstream>
 #include <stack>
+#include <vector>
 
 ///
 struct LyXLex::Pimpl : boost::noncopyable {
-       ///
-       enum {
-               ///
-               LEX_MAX_BUFF = 2048
-       };
-
        ///
        Pimpl(keyword_item * tab, int num);
        ///
@@ -59,7 +54,7 @@ struct LyXLex::Pimpl : boost::noncopyable {
        ///
        int no_items;
        ///
-       char buff[LEX_MAX_BUFF];
+       std::vector<char> buff;
        ///
        int status;
        ///