projects
/
app.jsdoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e359ba
)
JSDOC/ScopeNamer.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 8 Nov 2011 00:37:42 +0000
(08:37 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 8 Nov 2011 00:37:42 +0000
(08:37 +0800)
JSDOC/ScopeNamer.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeNamer.js
b/JSDOC/ScopeNamer.js
index
6a75309
..
5f42ff9
100644
(file)
--- a/
JSDOC/ScopeNamer.js
+++ b/
JSDOC/ScopeNamer.js
@@
-277,6
+277,8
@@
ScopeNamer = XObject.define(
}
+ // control flow ...
+
// 'call' scopes
@@
-309,7
+311,10
@@
ScopeNamer = XObject.define(
// standard flow....
if (token.data == '{') {
sn = new ScopeNamer(this);
- print("GOT { - walkings statuements;}")
+ print("GOT { - walkings statuements;}");
+ if (!token.items) {
+ print(JSON.stringify(token,null,4));
+ }
sn.walkStatements(scope, token.items);
continue;
}