JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 05:06:24 +0000 (13:06 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 05:06:24 +0000 (13:06 +0800)
JSDOC/ScopeParser.js

index 2914d18..42e36c5 100644 (file)
@@ -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);