File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -84,17 +84,17 @@ pp.isUsingKeyword = function(isAwaitUsing, isFor) {
8484 if ( lineBreak . test ( this . input . slice ( this . pos , next ) ) ) return false
8585
8686 if ( isAwaitUsing ) {
87- let awaitEndPos = next + 5 /* await */ , after
88- if ( this . input . slice ( next , awaitEndPos ) !== "using" ||
89- awaitEndPos === this . input . length ||
90- isIdentifierChar ( after = this . input . charCodeAt ( awaitEndPos ) ) ||
87+ let usingEndPos = next + 5 /* using */ , after
88+ if ( this . input . slice ( next , usingEndPos ) !== "using" ||
89+ usingEndPos === this . input . length ||
90+ isIdentifierChar ( after = this . input . charCodeAt ( usingEndPos ) ) ||
9191 ( after > 0xd7ff && after < 0xdc00 )
9292 ) return false
9393
94- skipWhiteSpace . lastIndex = awaitEndPos
94+ skipWhiteSpace . lastIndex = usingEndPos
9595 let skipAfterUsing = skipWhiteSpace . exec ( this . input )
96- next = awaitEndPos + skipAfterUsing [ 0 ] . length
97- if ( skipAfterUsing && lineBreak . test ( this . input . slice ( awaitEndPos , next ) ) ) return false
96+ next = usingEndPos + skipAfterUsing [ 0 ] . length
97+ if ( skipAfterUsing && lineBreak . test ( this . input . slice ( usingEndPos , next ) ) ) return false
9898 }
9999
100100 let ch = this . fullCharCodeAt ( next )
You can’t perform that action at this time.
0 commit comments