#include <boost/utility.hpp>
-#include <fstream>
#include <istream>
#include <stack>
#include <vector>
namespace lyx {
+namespace support { class FileName; }
+
///
class LyXLex::Pimpl : boost::noncopyable {
public:
///
void popTable();
///
- bool setFile(std::string const & filename);
+ bool setFile(support::FileName const & filename);
///
void setStream(std::istream & i);
///
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.