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

index 6d0267f..1b4bac4 100644 (file)
@@ -283,7 +283,7 @@ ScopeParser.prototype = {
                     print(">>>>>> OBJLIT POP(false)");
                         //assert braceNesting >= scope.getBraceNesting();
                     print("compare BN : "+ this.braceNesting +" ?=" +  scope.braceNesting);
-                    if (this.braceNesting == scope.braceNesting) {
+                    if (this.braceNesting == 0) {
                         var ls = this.scopes.pop();
                         ls.getUsedSymbols();
                         print("<<<<<<<EXIT SCOPE" +this.scopes.length);