diff options
Diffstat (limited to 'parse.h')
-rw-r--r-- | parse.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -16,7 +16,7 @@ #include <iostream> #include <vector> #include <stdexcept> - +#include <stdint.h> struct source_loc { @@ -79,7 +79,8 @@ private: int input_peek (unsigned n=0); std::istream& input; std::string input_name; - std::vector<int> lookahead; + std::vector<char> input_contents; + int input_pointer; // index into input_contents unsigned cursor_suspend_count; unsigned cursor_line; unsigned cursor_column; |