scopeName = fixAlias(scopeName);
print(this.scopes.length);
- //var fnScope = new Scope(this.braceNesting, scope, token.n,
- // '$this$='+scopeName + '|'+scopeName
- //);
+ var fnScope = new Scope(this.braceNesting, scope, token.n,
+ '$this$='+scopeName + '|'+scopeName
+ );
- //this.indexedScopes[this.ts.cursor] = fnScope;
- //scope = fnScope;
+ this.indexedScopes[this.ts.cursor] = fnScope;
+ scope = fnScope;
// push the same scope onto the stack..
- this.scopesIn(this.scopes[this.scopes.length-1]);
+ this.scopesIn(fnScope);
+ //this.scopesIn(this.scopes[this.scopes.length-1]);
locBraceNest++;