From 432b733e3b77701265db44bc28b8750fd8cde3c7 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 14:36:23 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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--; -- 2.39.2