From 574acce543eb2d84177057420ba7d4822a1bf511 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 22 Jul 2010 17:13:19 +0800 Subject: [PATCH] JSDOC/Walker2.js --- JSDOC/Walker2.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/JSDOC/Walker2.js b/JSDOC/Walker2.js index 6df4efe..df3e793 100644 --- a/JSDOC/Walker2.js +++ b/JSDOC/Walker2.js @@ -661,12 +661,14 @@ Walker2 = XObject.define( scopeName = this.ts.look(-2).data; scopeName = fixAlias(scopeName); - var fnScope = new Scope(this.braceNesting, scope, token.n, - '$this$='+scopeName + '|'+scopeName - ); - this.indexedScopes[this.ts.cursor] = fnScope; - scope = fnScope; - this.scopesIn(fnScope); + //var fnScope = new Scope(this.braceNesting, scope, token.n, + // '$this$='+scopeName + '|'+scopeName + //); + + //this.indexedScopes[this.ts.cursor] = fnScope; + //scope = fnScope; + // push the same scope onto the stack.. + this.scopesIn(this.scopes[this.scopes.length-1]); locBraceNest++; -- 2.39.2