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

Unified Diff: src/scanner.h

Issue 1024603002: Remove --harmony-numeric-literal flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: git rebase Created 5 years, 9 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
« no previous file with comments | « src/runtime/runtime-numbers.cc ('k') | src/scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scanner.h
diff --git a/src/scanner.h b/src/scanner.h
index 804082562e15605e80e7ef90622398a57a3ecd35..5162fbec12d0bfec37a7c8847e7a6400b84b58c0 100644
--- a/src/scanner.h
+++ b/src/scanner.h
@@ -450,12 +450,6 @@ class Scanner {
void SetHarmonyModules(bool modules) {
harmony_modules_ = modules;
}
- bool HarmonyNumericLiterals() const {
- return harmony_numeric_literals_;
- }
- void SetHarmonyNumericLiterals(bool numeric_literals) {
- harmony_numeric_literals_ = numeric_literals;
- }
bool HarmonyClasses() const {
return harmony_classes_;
}
@@ -739,8 +733,6 @@ class Scanner {
bool has_multiline_comment_before_next_;
// Whether we scan 'module', 'import', 'export' as keywords.
bool harmony_modules_;
- // Whether we scan 0o777 and 0b111 as numbers.
- bool harmony_numeric_literals_;
// Whether we scan 'class', 'extends', 'static' and 'super' as keywords.
bool harmony_classes_;
// Whether we allow \u{xxxxx}.
« no previous file with comments | « src/runtime/runtime-numbers.cc ('k') | src/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698