From: Alan Knowles Date: Thu, 22 Jul 2010 09:13:19 +0000 (+0800) Subject: JSDOC/Walker2.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=574acce543eb2d84177057420ba7d4822a1bf511 JSDOC/Walker2.js --- 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++;