From 9876777448af83c731b07d65d39f97bc9ae19b41 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 22 Jul 2010 17:20:50 +0800 Subject: [PATCH] JSDOC/Walker2.js --- JSDOC/Walker2.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/JSDOC/Walker2.js b/JSDOC/Walker2.js index fd7f7b3..f3ec816 100644 --- a/JSDOC/Walker2.js +++ b/JSDOC/Walker2.js @@ -664,14 +664,15 @@ Walker2 = XObject.define( 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++; -- 2.39.2