diff options
Diffstat (limited to 'cli/lexer.hxx')
-rw-r--r-- | cli/lexer.hxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cli/lexer.hxx b/cli/lexer.hxx index 50990c3..c69021f 100644 --- a/cli/lexer.hxx +++ b/cli/lexer.hxx @@ -53,10 +53,13 @@ protected: }; Char - get (); + peek (); Char - peek (); + get (); + + void + unget (Char); protected: class InvalidInput {}; @@ -130,6 +133,9 @@ private: bool eos_; bool include_; bool valid_; + + Char buf_; + bool unget_; }; #include "lexer.ixx" |