diff options
Diffstat (limited to 'src/token.cc')
-rw-r--r-- | src/token.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/token.cc b/src/token.cc index 01ee2a18..148fbb10 100644 --- a/src/token.cc +++ b/src/token.cc @@ -133,7 +133,7 @@ void expr_t::token_t::parse_ident(std::istream& in) int c; char buf[256]; - READ_INTO_(in, buf, 255, c, length, std::isalnum(c) || c == '_'); + READ_INTO_(in, buf, 255, c, length, std::isalpha(c) || c == '_'); value.set_string(buf); } |