projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3e2940
)
JSDOC/ScopeParser.js
author
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 07:17:10 +0000
(15:17 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 07:17:10 +0000
(15:17 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
069bac4
..
1a2b9cf
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-214,11
+214,12
@@
ScopeParser.prototype = {
while (true) {
token = this.ts.nextTok();
- if (token.name != "VAR") { // kludge..
- continue;
- }
+
if (!token) { // can return false at EOF!
break;
+ }
+ if (token.name != "VAR") { // kludge..
+ continue;
}
//this.logR("parseScope GOT VAR : <B>" + token.toString() + "</B>");
if (token.type !="NAME") {