From: Alan Knowles Date: Thu, 15 Jul 2010 06:36:23 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=432b733e3b77701265db44bc28b8750fd8cde3c7 JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index a69b251..69e8ee0 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -577,7 +577,7 @@ ScopeParser.prototype = { //print(scopeIndent + ">> ENTER EXPRESSION" + this.expN); - while (token = this.ts.lookTok()) { + while (token = this.ts.nextTok()) { @@ -785,7 +785,7 @@ ScopeParser.prototype = { print("EXPR-SKIP:" + JSON.stringify(token, null, 4)); break; } - if (!this.ts.nextTok()) break; + if (!this.ts.lookTok()) break; } print("<< EXIT EXPRESSION"); this.expN--;