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

index 61664ad..fbce5e5 100644 (file)
@@ -200,7 +200,7 @@ ScopeParser.prototype = {
         var identifier;
 
         var expressionBraceNesting = this.braceNesting;
-        var bracketNesting = 0;
+        
         var parensNesting = 0;
         
         var isObjectLitAr = [ false ];
@@ -286,7 +286,7 @@ ScopeParser.prototype = {
                     print(">>>>>> OBJLIT POP"+ this.braceNesting);
                         //assert braceNesting >= scope.getBra ceNesting();
                     
-                    if (this.braceNesting < expressionBraceNesting) {
+                    if (this.braceNesting < 0) {
                         var ls = this.scopes.pop();
                         ls.getUsedSymbols();
                         print("<<<<<<<EXIT SCOPE" +this.scopes.length);