summaryrefslogtreecommitdiffstats
path: root/parse.h
diff options
context:
space:
mode:
authorddomingo <ddomingo@redhat.com>2008-09-15 13:53:32 +1000
committerddomingo <ddomingo@redhat.com>2008-09-15 13:53:32 +1000
commit58b5c08a69fa298a92ead6d9384415ff750ea2ef (patch)
treee6069a6944ccf0bcb5e9884104d3819121896dfb /parse.h
parent4ef55e8308f34b73d6a0a69850900ae0d06499ce (diff)
parent8b524b8e33e94007b15f33546819056b56435cf2 (diff)
downloadsystemtap-steved-58b5c08a69fa298a92ead6d9384415ff750ea2ef.tar.gz
systemtap-steved-58b5c08a69fa298a92ead6d9384415ff750ea2ef.tar.xz
systemtap-steved-58b5c08a69fa298a92ead6d9384415ff750ea2ef.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
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;