]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the...
[lyx.git] / src / lyxlex_pimpl.h
index eb282ef15f5f80278379627137370f9e62049d13..7fe3905b293b8d3d883b51d280e286856fbd5e3e 100644 (file)
@@ -23,7 +23,6 @@ namespace io = boost::iostreams;
 
 #include <boost/utility.hpp>
 
-#include <fstream>
 #include <istream>
 #include <stack>
 #include <vector>
@@ -66,6 +65,8 @@ public:
        bool eatLine();
        ///
        bool nextToken();
+       /// test if there is a pushed token or the stream is ok
+       bool inputAvailable();
        ///
        void pushToken(std::string const &);
        /// fb_ is only used to open files, the stream is accessed through is.