From: Alan Knowles Date: Thu, 15 Jul 2010 04:33:27 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=76011a23c4df22d5bcf56088d41bc04b0c6e7a7b JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index cf5c8f7..fb34d64 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -793,6 +793,8 @@ ScopeParser.prototype = { var currentScope = false; var fnScope = false; var identifier; + var b4braceNesting = this.braceNesting + 0; + //this.logR("PARSING FUNCTION"); currentScope = this.scopes[this.scopes.length-1]; @@ -899,7 +901,7 @@ ScopeParser.prototype = { this.parseScope(fnScope); // now pop it off the stack!!! - this.braceNesting--; + this.braceNesting = b4braceNesting; },