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

Side by Side Diff: src/messages.h

Issue 1300103005: [parser] disallow language mode directive in body of function with non-simple parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: flag implications don't work in test suite? Created 5 years, 3 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 | « src/expression-classifier.h ('k') | src/parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 // The infrastructure used for (localized) message reporting in V8. 5 // The infrastructure used for (localized) message reporting in V8.
6 // 6 //
7 // Note: there's a big unresolved issue about ownership of the data 7 // Note: there's a big unresolved issue about ownership of the data
8 // structures used by this framework. 8 // structures used by this framework.
9 9
10 #ifndef V8_MESSAGES_H_ 10 #ifndef V8_MESSAGES_H_
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 "Duplicate __proto__ fields are not allowed in object literals") \ 289 "Duplicate __proto__ fields are not allowed in object literals") \
290 T(ForInLoopInitializer, \ 290 T(ForInLoopInitializer, \
291 "for-in loop variable declaration may not have an initializer.") \ 291 "for-in loop variable declaration may not have an initializer.") \
292 T(ForInOfLoopMultiBindings, \ 292 T(ForInOfLoopMultiBindings, \
293 "Invalid left-hand side in % loop: Must have a single binding.") \ 293 "Invalid left-hand side in % loop: Must have a single binding.") \
294 T(ForOfLoopInitializer, \ 294 T(ForOfLoopInitializer, \
295 "for-of loop variable declaration may not have an initializer.") \ 295 "for-of loop variable declaration may not have an initializer.") \
296 T(IllegalAccess, "Illegal access") \ 296 T(IllegalAccess, "Illegal access") \
297 T(IllegalBreak, "Illegal break statement") \ 297 T(IllegalBreak, "Illegal break statement") \
298 T(IllegalContinue, "Illegal continue statement") \ 298 T(IllegalContinue, "Illegal continue statement") \
299 T(IllegalLanguageModeDirective, \
300 "Illegal '%' directive in function with non-simple parameter list") \
299 T(IllegalReturn, "Illegal return statement") \ 301 T(IllegalReturn, "Illegal return statement") \
300 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ 302 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \
301 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ 303 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \
302 T(InvalidLhsInPostfixOp, \ 304 T(InvalidLhsInPostfixOp, \
303 "Invalid left-hand side expression in postfix operation") \ 305 "Invalid left-hand side expression in postfix operation") \
304 T(InvalidLhsInPrefixOp, \ 306 T(InvalidLhsInPrefixOp, \
305 "Invalid left-hand side expression in prefix operation") \ 307 "Invalid left-hand side expression in prefix operation") \
306 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \ 308 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \
307 T(LabelRedeclaration, "Label '%' has already been declared") \ 309 T(LabelRedeclaration, "Label '%' has already been declared") \
308 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \ 310 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 482
481 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 483 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
482 Isolate* isolate, LookupIterator* property_lookup, 484 Isolate* isolate, LookupIterator* property_lookup,
483 Handle<String> default_value); 485 Handle<String> default_value);
484 486
485 List<Handle<JSObject> > visited_; 487 List<Handle<JSObject> > visited_;
486 }; 488 };
487 } } // namespace v8::internal 489 } } // namespace v8::internal
488 490
489 #endif // V8_MESSAGES_H_ 491 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/expression-classifier.h ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698