JSDOC/ScopeParser.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 08:32:44 +0000 (16:32 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 08:32:44 +0000 (16:32 +0800)
JSDOC/ScopeParser.js

index 799b5c4..298f635 100644 (file)
@@ -720,6 +720,7 @@ ScopeParser.prototype = {
         } else {
             //println("FETCHING SCOPE" + this.ts.cursor);
             fnScope = this.indexedScopes[this.ts.cursor];
+            fnScope.braceNesting--;
         }
         
         // Parse function arguments.