JSDOC/ScopeParser.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.js
index 3bfc86d..330f3d0 100644 (file)
@@ -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);