From eacb10cec9899c79ae1e122a7b6e50106928a295 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 10 Sep 2008 23:11:30 -0400 Subject: parser/scanner speedup --- parse.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'parse.h') 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 lookahead; + std::vector input_contents; + int input_pointer; // index into input_contents unsigned cursor_suspend_count; unsigned cursor_line; unsigned cursor_column; -- cgit