diff options
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r-- | build2/parser.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx index 82be698..9fd584a 100644 --- a/build2/parser.cxx +++ b/build2/parser.cxx @@ -4,7 +4,6 @@ #include <build2/parser> -#include <cctype> // is{alpha alnum}() #include <iostream> #include <build2/version> @@ -2754,7 +2753,7 @@ namespace build2 for (size_t i (0); i != n.value.size (); ++i) { char c (n.value[i]); - if (c != '_' && !(i != 0 ? isalnum (c) : isalpha (c))) + if (c != '_' && !(i != 0 ? alnum (c) : alpha (c))) return false; } |