Changeset 250548 in webkit
- Timestamp:
- Sep 30, 2019, 11:14:40 PM (6 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r250543 r250548 1 2019-09-30 Alex Christensen <achristensen@webkit.org> 2 3 Rename JSTokenType::EXPORT to EXPORT_ to avoid naming conflict with internal header 4 https://bugs.webkit.org/show_bug.cgi?id=202385 5 6 * parser/Keywords.table: 7 * parser/Parser.cpp: 8 (JSC::Parser<LexerType>::parseModuleSourceElements): 9 (JSC::Parser<LexerType>::parseExportDeclaration): 10 * parser/ParserTokens.h: 11 1 12 2019-09-30 Tadeu Zagallo <tzagallo@apple.com> 2 13 -
trunk/Source/JavaScriptCore/parser/Keywords.table
r223124 r250548 44 44 # Reserved for future use. 45 45 enum RESERVED 46 export EXPORT 46 export EXPORT_ 47 47 import IMPORT 48 48 -
trunk/Source/JavaScriptCore/parser/Parser.cpp
r250098 r250548 428 428 TreeStatement statement = 0; 429 429 switch (m_token.m_type) { 430 case EXPORT :430 case EXPORT_: 431 431 statement = parseExportDeclaration(context); 432 432 if (statement) … … 3381 3381 { 3382 3382 // http://www.ecma-international.org/ecma-262/6.0/#sec-exports 3383 ASSERT(match(EXPORT ));3383 ASSERT(match(EXPORT_)); 3384 3384 JSTokenLocation exportLocation(tokenLocation()); 3385 3385 next(); -
trunk/Source/JavaScriptCore/parser/ParserTokens.h
r248829 r250548 86 86 ELSE, 87 87 IMPORT, 88 EXPORT ,88 EXPORT_, 89 89 CLASSTOKEN, 90 90 EXTENDS,
Note:
See TracChangeset
for help on using the changeset viewer.