Index: src/scanner.h |
diff --git a/src/scanner.h b/src/scanner.h |
index 368ec1beae557568aee0c52f65aa50f483a3b9d8..eb6764e80f3c4be38bbdbf73aedfcbe4dcb8af9e 100644 |
--- a/src/scanner.h |
+++ b/src/scanner.h |
@@ -331,7 +331,7 @@ class Scanner { |
return current_.literal_chars->is_ascii(); |
} |
bool is_literal_contextual_keyword(Vector<const char> keyword) { |
- ASSERT_NOT_NULL(next_.literal_chars); |
+ ASSERT_NOT_NULL(current_.literal_chars); |
return current_.literal_chars->is_contextual_keyword(keyword); |
} |
int literal_length() const { |