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

index 0778bee..334b0f0 100644 (file)
@@ -296,7 +296,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);