X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FScopeParser.js;h=42e36c50031a89b1514c19e159d76aacfa16d1cb;hb=d31a393414c1bfead2da1209739d2a122fa3dd24;hp=a3cffad5bcdd00d30e2b5099f880cf69daa37273;hpb=548b76223ebb9688c2e546f079d6dbc26df63ba9;p=gnome.introspection-doc-generator diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index a3cffad..42e36c5 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -303,11 +303,12 @@ ScopeParser.prototype = { var nts = []; while (true) { var n = this.ts.lookTok(); - if (n.data == ',') { + print(n.toString()); + if (!n || n.type == 'VOID' || n.data == ',') { break; } nts.push(n); - this.nextTok(); + this.ts.nextTok(); } if (nts.length) { var TS = this.ts;