projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JSDOC/ScopeParser.js
[gnome.introspection-doc-generator]
/
JSDOC
/
ScopeParser.js
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
81e39d8
..
330f3d0
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-302,11
+302,12
@@
ScopeParser.prototype = {
var bn = this.braceNesting;
var nts = [];
while (true) {
- var n = this.ts.
next
Tok();
- if (n.data == ',') {
+ var n = this.ts.
look
Tok();
+ if (
!n ||
n.data == ',') {
break;
}
nts.push(n);
+ this.ts.nextTok();
}
if (nts.length) {
var TS = this.ts;