From c687543e334a05b4e709a109901a01d25e67d90e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 14:09:57 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 9bebe00..f54497a 100644 --- 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!!! -- 2.39.2