summaryrefslogtreecommitdiffstats
path: root/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/parse.h b/parse.h
index 25c42931..cf31f4f8 100644
--- a/parse.h
+++ b/parse.h
@@ -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;