JSDOC/Scope.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:56:21 +0000 (16:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Jul 2010 08:56:21 +0000 (16:56 +0800)
JSDOC/Scope.js

index 53e78d0..41bbf10 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);