X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FScopeParser.js;h=3bfc86dd13c3726dcbf5bd2a4e578837878b933e;hb=3809fda8b3e9c3fbcf1362937d1f62f22faf9601;hp=81e39d81be1a746e15db3ee5a68130c338166774;hpb=6a2affe14a8b2d95852fcf3a5ace4b394eb4b560;p=gnome.introspection-doc-generator diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 81e39d8..3bfc86d 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.ts.nextTok(); } if (nts.length) { var TS = this.ts;