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

index f65f8b1..53e78d0 100644 (file)
@@ -25,7 +25,7 @@ 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'));
+    print("ADD SCOPE(" + this.gid + ") TO "+ (parent ? this.parent.gid : 'TOP')) + ' : ' + token.toString());
     
     if (parent) {
         this.parent.subScopes.push(this);