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
(from parent 1:
923f6cb
)
JSDOC/ScopeParser.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 06:09:57 +0000
(14:09 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 06:09:57 +0000
(14:09 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
9bebe00
..
f54497a
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-882,9
+882,15
@@
ScopeParser.prototype = {
//token = this.ts.nextTok();
//print(token.toString());
var outTS = this.ts;
- this.ts = new TokenStream(token.items);
+ var _this = this;
+ token.items.forEach(function(tar) {
+ _this.ts = new TokenStream(tar);
+ this.parseScope(fnScope);
+
+ }
+
//print(JSON.stringify(this.ts,null,4));
- this.parseScope(fnScope);
+
//
this.parseScope(fnScope);
this.ts = outTS;
// now pop it off the stack!!!