diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-08-22 10:20:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-08-22 10:20:34 +0200 |
commit | 94f0866683bdf063b30323bac227e11a23110fa2 (patch) | |
tree | c484de46d07f1d0b8fdffb6dd7573f7047e1b2cb /cli/lexer.ixx | |
parent | c3f7f0c0556270ced988a7adddec885270bc1ea7 (diff) |
Add call and template expressions
Also add support for querying the lexer failure state.
Diffstat (limited to 'cli/lexer.ixx')
-rw-r--r-- | cli/lexer.ixx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/lexer.ixx b/cli/lexer.ixx index f7ff77e..7e84cfc 100644 --- a/cli/lexer.ixx +++ b/cli/lexer.ixx @@ -38,6 +38,12 @@ column () const // Lexer // inline bool Lexer:: +valid () const +{ + return valid_; +} + +inline bool Lexer:: is_alpha (char c) const { return std::isalpha (c, loc_); |