From: Alan Knowles Date: Fri, 16 Jul 2010 05:05:13 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=9147f475305f2564c1a6ef47755f58b5d67520f7 JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 3bfc86d..330f3d0 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -303,7 +303,7 @@ ScopeParser.prototype = { var nts = []; while (true) { var n = this.ts.lookTok(); - if (n.data == ',') { + if (!n || n.data == ',') { break; } nts.push(n);