Fix infinite loop introduced by 685b51e
This commit is contained in:
parent
013e48439f
commit
2ed8f8f2b8
@ -402,6 +402,7 @@ lp.parseIdent = function() {
|
||||
let name = this.tok.type === tt.name ? this.tok.value : this.tok.type.keyword
|
||||
if (!name) return this.dummyIdent()
|
||||
let node = this.startNode()
|
||||
this.next()
|
||||
node.name = name
|
||||
return this.finishNode(node, "Identifier")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user