From 9147f475305f2564c1a6ef47755f58b5d67520f7 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 Jul 2010 13:05:13 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2