From: Alan Knowles Date: Thu, 15 Jul 2010 05:05:39 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=d390357d880f212f10dd186e6f131a45d3c982ea JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 5662e69..b943f77 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -528,7 +528,7 @@ ScopeParser.prototype = { //print("<<<<<<EXP
"); !this.debug || print("PARSE EXPR"); - + this.expN++; // for printing stuff.. @@ -559,7 +559,7 @@ ScopeParser.prototype = { this.scopes.forEach(function() { scopeIndent += ' '; }); - print(scopeIndent + ">> ENTER EXPRESSION"); + print(scopeIndent + ">> ENTER EXPRESSION" + this.expN); while (token = this.ts.lookTok()) { @@ -590,6 +590,7 @@ ScopeParser.prototype = { bracketNesting == 0 && parensNesting == 0) { print(scopeIndent + "<< EXIT EXPRESSION"); + this.expN--; return; } break;