From: Alan Knowles Date: Thu, 15 Jul 2010 04:24:27 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=56dd1c7bc1610f24410160c3b40b84a4ab3bd440 JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 75bc17a..ad6ac3c 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -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;