JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 04:24:27 +0000 (12:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 04:24:27 +0000 (12:24 +0800)
JSDOC/ScopeParser.js

index 75bc17a..ad6ac3c 100644 (file)
@@ -206,14 +206,14 @@ ScopeParser.prototype = {
             }
             print(
             //    (new Array(this.dumpLine.scope)).join("  ") + '|' + 
-                (new Array(this.dumpLine.brace)).join("  ") + this.dumpLine.str);
+                (new Array(this.dumpLine.brace+1)).join("  ") + this.dumpLine.str);
             this.dumpLine.str = '';
             return;
         }
         
         print(
           //  (new Array(this.dumpLine.scope)).join("  ") + '|' + 
-            (new Array(this.dumpLine.brace)).join("  ") + this.dumpLine.str); 
+            (new Array(this.dumpLine.brace+1)).join("  ") + this.dumpLine.str); 
         
         
         this.dumpLine = {
@@ -235,7 +235,7 @@ ScopeParser.prototype = {
         
         var identifier;
 
-        var expressionBraceNesting = this.braceNesting;
+        var expressionBraceNesting = this.braceNesting + 0;
         
         var parensNesting = 0;