From 76011a23c4df22d5bcf56088d41bc04b0c6e7a7b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 12:33:27 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }, -- 2.39.2