Index: tools/gn/tokenizer.h |
diff --git a/tools/gn/tokenizer.h b/tools/gn/tokenizer.h |
index 5fa48b1a493aa216c9726549dc328d718b3e8145..a37f4dc882f55b064627083430835fd8f35f18a3 100644 |
--- a/tools/gn/tokenizer.h |
+++ b/tools/gn/tokenizer.h |
@@ -9,7 +9,6 @@ |
#include "base/macros.h" |
#include "base/strings/string_piece.h" |
-#include "base/strings/string_util.h" |
#include "tools/gn/err.h" |
#include "tools/gn/token.h" |
@@ -32,14 +31,9 @@ class Tokenizer { |
// The offset must be in the buffer. |
static bool IsNewline(const base::StringPiece& buffer, size_t offset); |
- static bool IsIdentifierFirstChar(char c) { |
- return base::IsAsciiAlpha(c) || c == '_'; |
- } |
+ static bool IsIdentifierFirstChar(char c); |
- static bool IsIdentifierContinuingChar(char c) { |
- // Also allow digits after the first char. |
- return IsIdentifierFirstChar(c) || base::IsAsciiDigit(c); |
- } |
+ static bool IsIdentifierContinuingChar(char c); |
private: |
// InputFile must outlive the tokenizer and all generated tokens. |