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

index db6b880..249ab59 100644 (file)
@@ -282,7 +282,7 @@ ScopeParser.prototype = {
                     isObjectLitAr.pop();
                     print(">>>>>> OBJLIT POP(false)");
                         //assert braceNesting >= scope.getBraceNesting();
-                    if (this.braceNesting == scope.braceN) {
+                    if (this.braceNesting == scope.braceNesting) {
                         var ls = this.scopes.pop();
                         ls.getUsedSymbols();
                         print("<<<<<<<EXIT SCOPE" +this.scopes.length);