Index: src/parsing/scanner.cc |
diff --git a/src/parsing/scanner.cc b/src/parsing/scanner.cc |
index 5fc848f58ca843ce242a0163335683939ff8768d..224aa401d061dbf3db70f3fa3692a9b1dae1e02a 100644 |
--- a/src/parsing/scanner.cc |
+++ b/src/parsing/scanner.cc |
@@ -564,7 +564,7 @@ void Scanner::Scan() { |
Advance(); |
if (c0_ == '-') { |
Advance(); |
- if (c0_ == '>' && has_line_terminator_before_next_) { |
+ if (c0_ == '>' && HasAnyLineTerminatorBeforeNext()) { |
// For compatibility with SpiderMonkey, we skip lines that |
// start with an HTML comment end '-->'. |
token = SkipSingleLineComment(); |