JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:35:44 +0000 (16:35 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:35:44 +0000 (16:35 +0800)
JSDOC/ScopeParser.js

index 74d0549..a7abc9c 100644 (file)
@@ -858,7 +858,7 @@ ScopeParser.prototype = {
 
         //assert token.getType() == Token.LP;
         if (this.mode == 'BUILDING_SYMBOL_TREE') {
-            fnScope = new Scope(this.braceNesting, currentScope, token.n, '');
+            fnScope = new Scope(1, currentScope, token.n, '');
             
             //println("STORING SCOPE" + this.ts.cursor);