From: Alan Knowles Date: Fri, 16 Jul 2010 05:04:00 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=548b76223ebb9688c2e546f079d6dbc26df63ba9 JSDOC/ScopeParser.js --- 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;