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

index 6e3263e..6fd8d7d 100644 (file)
@@ -286,7 +286,7 @@ ScopeParser.prototype = {
                     print(">>>>>> OBJLIT POP"+ this.braceNesting);
                         //assert braceNesting >= scope.getBra ceNesting();
                     
-                    if (this.braceNesting == 0) {
+                    if (this.braceNesting == expressionBraceNesting) {
                         var ls = this.scopes.pop();
                         ls.getUsedSymbols();
                         print("<<<<<<<EXIT SCOPE" +this.scopes.length);