Index: src/scanner-base.h |
diff --git a/src/scanner-base.h b/src/scanner-base.h |
index a7062a34afcf3a540b6baac54abfbbad647c6bf3..d68d240e90e5c3c90403fe1b2333db956cfc123c 100644 |
--- a/src/scanner-base.h |
+++ b/src/scanner-base.h |
@@ -362,7 +362,7 @@ class Scanner { |
// Call this after setting source_ to the input. |
void Init() { |
// Set c0_ (one character ahead) |
- ASSERT(kCharacterLookaheadBufferSize == 1); |
+ STATIC_ASSERT(kCharacterLookaheadBufferSize == 1); |
Advance(); |
// Initialize current_ to not refer to a literal. |
current_.literal_chars = NULL; |