Changeset 102931 in webkit for trunk/Source/JavaScriptCore/parser/Parser.cpp
- Timestamp:
- Dec 15, 2011, 5:45:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/Parser.cpp
r100391 r102931 624 624 next(); 625 625 AutoPopScopeRef catchScope(this, pushScope()); 626 failIfFalseIfStrictWithNameAndMessage( catchScope->declareVariable(ident), "Cannot declare a variable named", ident->impl(), "in strict mode");626 failIfFalseIfStrictWithNameAndMessage(declareVariable(ident), "Cannot declare a variable named", ident->impl(), "in strict mode"); 627 627 catchScope->preventNewDecls(); 628 628 consumeOrFail(CLOSEPAREN);
Note:
See TracChangeset
for help on using the changeset viewer.