From d31a393414c1bfead2da1209739d2a122fa3dd24 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 Jul 2010 13:06:24 +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 2914d18..42e36c5 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -304,7 +304,7 @@ ScopeParser.prototype = { while (true) { var n = this.ts.lookTok(); print(n.toString()); - if (!n || n.data == ',') { + if (!n || n.type == 'VOID' || n.data == ',') { break; } nts.push(n); -- 2.39.2