Changeset 170034 in webkit for trunk/Source/JavaScriptCore/parser/Parser.cpp
- Timestamp:
- Jun 16, 2014, 4:19:29 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/Parser.cpp
r168107 r170034 1127 1127 return parseConstDeclaration(context); 1128 1128 case FUNCTION: 1129 failIfFalseIfStrict(m_statementDepth == 1, " Nested functions cannot be declared in strict mode");1129 failIfFalseIfStrict(m_statementDepth == 1, "Strict mode does not allow function declarations in a lexically nested statement"); 1130 1130 return parseFunctionDeclaration(context); 1131 1131 case SEMICOLON: {
Note:
See TracChangeset
for help on using the changeset viewer.