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