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

Side by Side Diff: src/parsing/parser-base.h

Issue 1819813003: [cleanup] add missing #undef SCANNER_ACCESSORS to parser-base.h (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_PARSING_PARSER_BASE_H 5 #ifndef V8_PARSING_PARSER_BASE_H
6 #define V8_PARSING_PARSER_BASE_H 6 #define V8_PARSING_PARSER_BASE_H
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/hashmap.h" 10 #include "src/hashmap.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 ALLOW_ACCESSORS(natives); 131 ALLOW_ACCESSORS(natives);
132 ALLOW_ACCESSORS(harmony_sloppy); 132 ALLOW_ACCESSORS(harmony_sloppy);
133 ALLOW_ACCESSORS(harmony_sloppy_function); 133 ALLOW_ACCESSORS(harmony_sloppy_function);
134 ALLOW_ACCESSORS(harmony_sloppy_let); 134 ALLOW_ACCESSORS(harmony_sloppy_let);
135 ALLOW_ACCESSORS(harmony_restrictive_declarations); 135 ALLOW_ACCESSORS(harmony_restrictive_declarations);
136 ALLOW_ACCESSORS(legacy_const); 136 ALLOW_ACCESSORS(legacy_const);
137 ALLOW_ACCESSORS(harmony_do_expressions); 137 ALLOW_ACCESSORS(harmony_do_expressions);
138 ALLOW_ACCESSORS(harmony_function_name); 138 ALLOW_ACCESSORS(harmony_function_name);
139 ALLOW_ACCESSORS(harmony_function_sent); 139 ALLOW_ACCESSORS(harmony_function_sent);
140 SCANNER_ACCESSORS(harmony_exponentiation_operator); 140 SCANNER_ACCESSORS(harmony_exponentiation_operator);
141
142 #undef SCANNER_ACCESSORS
141 #undef ALLOW_ACCESSORS 143 #undef ALLOW_ACCESSORS
142 144
143 uintptr_t stack_limit() const { return stack_limit_; } 145 uintptr_t stack_limit() const { return stack_limit_; }
144 146
145 protected: 147 protected:
146 enum AllowRestrictedIdentifiers { 148 enum AllowRestrictedIdentifiers {
147 kAllowRestrictedIdentifiers, 149 kAllowRestrictedIdentifiers,
148 kDontAllowRestrictedIdentifiers 150 kDontAllowRestrictedIdentifiers
149 }; 151 };
150 152
(...skipping 2960 matching lines...) Expand 10 before | Expand all | Expand 10 after
3111 has_seen_constructor_ = true; 3113 has_seen_constructor_ = true;
3112 return; 3114 return;
3113 } 3115 }
3114 } 3116 }
3115 3117
3116 3118
3117 } // namespace internal 3119 } // namespace internal
3118 } // namespace v8 3120 } // namespace v8
3119 3121
3120 #endif // V8_PARSING_PARSER_BASE_H 3122 #endif // V8_PARSING_PARSER_BASE_H
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698