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