From 1bd252155a7c4304ae8cfbad003afe0a8f3fc275 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 16:56:21 +0800 Subject: [PATCH 1/1] JSDOC/Scope.js --- JSDOC/Scope.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JSDOC/Scope.js b/JSDOC/Scope.js index 53e78d0..41bbf10 100644 --- a/JSDOC/Scope.js +++ b/JSDOC/Scope.js @@ -25,7 +25,8 @@ function Scope(braceN, parent, startTokN, lastIdent, token) this.ident = lastIdent; this.gid = Scope.gid++; - print("ADD SCOPE(" + this.gid + ") TO "+ (parent ? this.parent.gid : 'TOP')) + ' : ' + token.toString()); + print("ADD SCOPE(" + this.gid + ") TO "+ (parent ? this.parent.gid : 'TOP')) + ' : ' + + token ? token.toString() : ''); if (parent) { this.parent.subScopes.push(this); -- 2.39.2