We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa12a8e commit 0087587Copy full SHA for 0087587
index.js
@@ -22,7 +22,7 @@ function observable(Parser) {
22
return super.enterScope.apply(this, arguments);
23
}
24
exitScope() {
25
- if (this.scopeStack[this.scopeStack.length - 1] & SCOPE_FUNCTION) --this.O_function;
+ if (this.currentScope() & SCOPE_FUNCTION) --this.O_function;
26
return super.exitScope.apply(this, arguments);
27
28
parseForIn(node) {
0 commit comments