X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScope.js;h=41bbf1021b568f9719d6de8c809123e0787c74f8;hp=53e78d0e36395d6652e61d41e254672b98724350;hb=1bd252155a7c4304ae8cfbad003afe0a8f3fc275;hpb=884bdd01f3b3be72df5db5936c2a79dee0be7780 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);