From be3ce2137c1d5f012c32e5641dca2c5eb60a456b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 16:11:21 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index ead73bc..1ca3839 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -872,11 +872,11 @@ ScopeParser.prototype = { //println("STORING SCOPE" + this.ts.cursor); - this.indexedScopes[this.ts.cursor] = fnScope; + this.indexedScopes[token.id] = fnScope; } else { //qln("FETCHING SCOPE" + this.ts.cursor); - fnScope = this.indexedScopes[this.ts.cursor]; + fnScope = this.indexedScopes[token.id]; } if (this.mode == 'BUILDING_SYMBOL_TREE') -- 2.39.2