Index: src/parsing/scanner.cc |
diff --git a/src/parsing/scanner.cc b/src/parsing/scanner.cc |
index a197829b35b69a6ecbe7d9b7521554eeb8c8c8c1..2b553645f299d96e5214b2071d2b1def6068a9c6 100644 |
--- a/src/parsing/scanner.cc |
+++ b/src/parsing/scanner.cc |
@@ -36,11 +36,10 @@ |
// ---------------------------------------------------------------------------- |
// Scanner |
-Scanner::Scanner(UnicodeCache* unicode_cache, bool allow_html_comments) |
+Scanner::Scanner(UnicodeCache* unicode_cache) |
: unicode_cache_(unicode_cache), |
bookmark_c0_(kNoBookmark), |
octal_pos_(Location::invalid()), |
- allow_html_comments_(allow_html_comments), |
found_html_comment_(false), |
allow_harmony_exponentiation_operator_(false) { |
bookmark_current_.literal_chars = &bookmark_current_literal_; |
@@ -485,7 +484,7 @@ |
token = Select(Token::LTE); |
} else if (c0_ == '<') { |
token = Select('=', Token::ASSIGN_SHL, Token::SHL); |
- } else if (c0_ == '!' && allow_html_comments_) { |
+ } else if (c0_ == '!') { |
token = ScanHtmlComment(); |
} else { |
token = Token::LT; |