From 548b76223ebb9688c2e546f079d6dbc26df63ba9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 Jul 2010 13:04:00 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 81e39d8..a3cffad 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -302,11 +302,12 @@ ScopeParser.prototype = { var bn = this.braceNesting; var nts = []; while (true) { - var n = this.ts.nextTok(); + var n = this.ts.lookTok(); if (n.data == ',') { break; } nts.push(n); + this.nextTok(); } if (nts.length) { var TS = this.ts; -- 2.39.2