Chromium Code Reviews

Unified Diff: src/scanner.h

Issue 160073006: Implement handling of arrow functions in the parser (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Same, plus a rebase and conflicts resolved Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/scanner.h
diff --git a/src/scanner.h b/src/scanner.h
index 6e7dabcff3e2a5c89b9cbc85ce9b7e1862605f3b..dd423e8c1cb354a5bfe91b2222f67822909d5c65 100644
--- a/src/scanner.h
+++ b/src/scanner.h
@@ -451,6 +451,8 @@ class Scanner {
// be empty).
bool ScanRegExpFlags();
+ bool IdentifierIsFutureStrictReserved(const AstRawString* string) const;
+
private:
// The current and look-ahead token.
struct TokenDesc {
@@ -634,6 +636,7 @@ class Scanner {
bool harmony_numeric_literals_;
};
+
} } // namespace v8::internal
#endif // V8_SCANNER_H_

Powered by Google App Engine