From: Alan Knowles Date: Thu, 15 Jul 2010 08:11:21 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=be3ce2137c1d5f012c32e5641dca2c5eb60a456b JSDOC/ScopeParser.js --- 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')