From a7a945ed9123ac3d29dad1eb2693b95cee3bcc71 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 Jul 2010 12:49:55 +0800 Subject: [PATCH] JSDOC/Scope.js --- JSDOC/Scope.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/JSDOC/Scope.js b/JSDOC/Scope.js index 6b63663..59a362e 100644 --- a/JSDOC/Scope.js +++ b/JSDOC/Scope.js @@ -55,7 +55,7 @@ Scope.prototype = { protectedVars : {}, // only used by to parent.. declareIdentifier : function(symbol, token) { - print("SCOPE : " + this.gid + " : " + token.toString()+""); + print("SCOPE : " + this.gid + " :SYM: " + symbol + " " + token.toString()+""); if (typeof(this.identifiers[symbol])== 'undefined') { @@ -70,6 +70,8 @@ Scope.prototype = { // then it's global... this.identifiers[symbol].toMunge = false; } + + this.addToParentScope(symbol); return this.identifiers[symbol]; }, -- 2.39.2