From 50f6f10a6c30a6be9354a0414ae6682a5401d2ae Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 16:33:12 +0800 Subject: [PATCH] JSDOC/Scope.js --- JSDOC/Scope.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/JSDOC/Scope.js b/JSDOC/Scope.js index b6539b5..4845435 100644 --- a/JSDOC/Scope.js +++ b/JSDOC/Scope.js @@ -73,7 +73,12 @@ Scope.prototype = { return this.identifiers[symbol]; }, getIdentifier : function(symbol) { - return (typeof(this.identifiers[symbol])== 'undefined') ? false : this.identifiers[symbol]; + if (typeof(this.identifiers[symbol])== 'undefined') { + print("SYMBOL NOT FOUND?" + symbol); + return false; + } + + return this.identifiers[symbol]; }, addHint : function(varName, varType) { -- 2.39.2