Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

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: Moar clean ups, return dummy FunctionLiteral for arrow functions Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/scanner.h
diff --git a/src/scanner.h b/src/scanner.h
index d71b994850be336df0c74f6d4f24c0ac6d9b5ea9..d63e9709ada6389687514f0a7e8c0077262e4b93 100644
--- a/src/scanner.h
+++ b/src/scanner.h
@@ -458,6 +458,8 @@ class Scanner {
return &source_mapping_url_;
}
+ bool IdentifierIsFutureStrictReserved(const AstRawString* string) const;
+
private:
// The current and look-ahead token.
struct TokenDesc {
@@ -647,6 +649,7 @@ class Scanner {
bool harmony_numeric_literals_;
};
+
} } // namespace v8::internal
#endif // V8_SCANNER_H_

Powered by Google App Engine
This is Rietveld 408576698