summaryrefslogtreecommitdiffstats
path: root/parse.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-09-10 23:11:30 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-09-10 23:11:30 -0400
commiteacb10cec9899c79ae1e122a7b6e50106928a295 (patch)
treeac74a690f79f85eae483404a0acaf6732c01ed25 /parse.h
parent9c98fb062af789df50ab98284ff2c6da3e220343 (diff)
downloadsystemtap-steved-eacb10cec9899c79ae1e122a7b6e50106928a295.tar.gz
systemtap-steved-eacb10cec9899c79ae1e122a7b6e50106928a295.tar.xz
systemtap-steved-eacb10cec9899c79ae1e122a7b6e50106928a295.zip
parser/scanner speedup
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/parse.h b/parse.h
index 25c42931..50b1507d 100644
--- a/parse.h
+++ b/parse.h
@@ -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;