@@ -46,10 +46,10 @@ pp.isLet = function(context) {
4646 if ( context ) return false
4747
4848 if ( nextCh === 123 ) return true // '{'
49- if ( isIdentifierStart ( nextCh , true ) ) {
49+ if ( isIdentifierStart ( nextCh ) ) {
5050 let start = next
5151 do { next += nextCh <= 0xffff ? 1 : 2 }
52- while ( isIdentifierChar ( nextCh = this . fullCharCodeAt ( next ) , true ) )
52+ while ( isIdentifierChar ( nextCh = this . fullCharCodeAt ( next ) ) )
5353 if ( nextCh === 92 ) return true
5454 let ident = this . input . slice ( start , next )
5555 if ( ! keywordRelationalOperator . test ( ident ) ) return true
@@ -70,7 +70,7 @@ pp.isAsyncFunction = function() {
7070 return ! lineBreak . test ( this . input . slice ( this . pos , next ) ) &&
7171 this . input . slice ( next , next + 8 ) === "function" &&
7272 ( next + 8 === this . input . length ||
73- ! ( isIdentifierChar ( after = this . input . charCodeAt ( next + 8 ) ) || after === 92 || after > 0xd7ff && after < 0xdc00 ) )
73+ ! ( isIdentifierChar ( after = this . fullCharCodeAt ( next + 8 ) ) || after === 92 /* '\' */ ) )
7474}
7575
7676pp . isUsingKeyword = function ( isAwaitUsing , isFor ) {
@@ -98,7 +98,7 @@ pp.isUsingKeyword = function(isAwaitUsing, isFor) {
9898 }
9999
100100 let ch = this . fullCharCodeAt ( next )
101- if ( ! isIdentifierStart ( ch , true ) && ch !== 92 /* '\' */ ) return false
101+ if ( ! isIdentifierStart ( ch ) && ch !== 92 /* '\' */ ) return false
102102 let idStart = next
103103 do { next += ch <= 0xffff ? 1 : 2 }
104104 while ( isIdentifierChar ( ch = this . fullCharCodeAt ( next ) ) )
0 commit comments