Changeset 248826 in webkit
- Timestamp:
- Aug 17, 2019, 7:20:07 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r248825 r248826 1 2 3 4 5 6 7 8 9 10 1 11 2019-08-17 Yusuke Suzuki <ysuzuki@apple.com> 2 12 -
trunk/JSTests/test262/expectations.yaml
r248787 r248826 2267 2267 test/language/block-scope/syntax/redeclaration/var-redeclaration-attempt-after-generator.js: 2268 2268 default: 'Test262: This statement should not be evaluated.' 2269 test/language/comments/hashbang/eval-indirect.js:2270 default: "SyntaxError: Invalid character: '#'"2271 strict mode: "SyntaxError: Invalid character: '#'"2272 test/language/comments/hashbang/eval.js:2273 default: "SyntaxError: Invalid character: '#'"2274 strict mode: "SyntaxError: Invalid character: '#'"2275 test/language/comments/hashbang/no-line-separator.js:2276 default: "SyntaxError: Invalid character: '#'"2277 strict mode: "SyntaxError: Invalid character: '#'"2278 2269 test/language/computed-property-names/class/static/method-number.js: 2279 2270 default: "Test262Error: `compareArray(Object.getOwnPropertyNames(C), ['1', '2', 'length', 'prototype', 'name', 'a', 'c'])` returns `true`" -
trunk/Source/JavaScriptCore/ChangeLog
r248825 r248826 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 17 2019-08-17 Yusuke Suzuki <ysuzuki@apple.com> 2 18 -
trunk/Source/JavaScriptCore/parser/Lexer.cpp
r247845 r248826 96 96 // Other types (only one so far) 97 97 CharacterWhiteSpace, 98 98 99 CharacterPrivateIdentifierStart 99 100 }; … … 136 137 /* 33 - ! */ CharacterExclamationMark, 137 138 /* 34 - " */ CharacterQuote, 138 /* 35 - # */ Character Invalid,139 /* 35 - # */ Character, 139 140 /* 36 - $ */ CharacterIdentifierStart, 140 141 /* 37 - % */ CharacterModulo, … … 2423 2424 m_lineStart = m_code; 2424 2425 goto start; 2426 2427 2428 2429 2430 2431 2432 2433 2425 2434 case CharacterPrivateIdentifierStart: 2426 2435 if (m_parsingBuiltinFunction) 2427 2436 goto parseIdent; 2428 2429 FALLTHROUGH; 2437 goto invalidCharacter; 2430 2438 case CharacterOtherIdentifierPart: 2431 2439 case CharacterInvalid: 2432 m_lexErrorMessage = invalidCharacterMessage(); 2433 token = ERRORTOK; 2434 goto returnError; 2440 goto invalidCharacter; 2435 2441 default: 2436 2442 RELEASE_ASSERT_NOT_REACHED(); … … 2482 2488 fillTokenInfo(tokenRecord, token, m_lineNumber, currentOffset(), currentLineStartOffset(), currentPosition()); 2483 2489 return token; 2490 2491 2492 2493 2494 2484 2495 2485 2496 returnError:
Note:
See TracChangeset
for help on using the changeset viewer.