JSDOC/Scope.js
[gnome.introspection-doc-generator] / JSDOC / Scope.js
index 53e78d0..5fe7403 100644 (file)
@@ -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);