X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScope.js;h=aa145c3dbcb84a895c539fff8dcdb1cef79325ab;hp=ab4066b8c4dec210ae7ca257dc09f6e4880cc3f8;hb=309249e9eba5141a1ebb6276c7ceba0ff787fc74;hpb=75b9265110ebf95d63f1f58bd187f37005843b96 diff --git a/JSDOC/Scope.js b/JSDOC/Scope.js index ab4066b..aa145c3 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]; },