Revert "Revert "Upgrade to 5.0.71.48"" DO NOT MERGE
This reverts commit f2e3994fa5148cc3d9946666f0b0596290192b0e,
and updates the x64 makefile properly so it doesn't break that
build.
FPIIM-449
Change-Id: Ib83e35bfbae6af627451c926a9650ec57c045605
(cherry picked from commit 109988c7ccb6f3fd1a58574fa3dfb88beaef6632)
diff --git a/src/parsing/scanner.h b/src/parsing/scanner.h
index 1d0aba0..3f9bbb5 100644
--- a/src/parsing/scanner.h
+++ b/src/parsing/scanner.h
@@ -448,6 +448,8 @@
bool IdentifierIsFutureStrictReserved(const AstRawString* string) const;
+ bool FoundHtmlComment() const { return found_html_comment_; }
+
private:
// The current and look-ahead token.
struct TokenDesc {
@@ -473,6 +475,7 @@
current_.literal_chars = NULL;
current_.raw_literal_chars = NULL;
next_next_.token = Token::UNINITIALIZED;
+ found_html_comment_ = false;
}
// Support BookmarkScope functionality.
@@ -752,6 +755,9 @@
// Whether there is a multi-line comment that contains a
// line-terminator after the current token, and before the next.
bool has_multiline_comment_before_next_;
+
+ // Whether this scanner encountered an HTML comment.
+ bool found_html_comment_;
};
} // namespace internal