JSDOC/ScopeParser.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 05:13:21 +0000 (13:13 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 05:13:21 +0000 (13:13 +0800)
JSDOC/ScopeParser.js

index 473b5d9..1db73dd 100644 (file)
@@ -827,7 +827,8 @@ ScopeParser.prototype = {
         //token = getToken(-1);
         //assert token.getType() == Token.CATCH;
         token = this.ts.nextTok();
-        print(token.toString());
+        
+        print(JSON.stringify(token,null,4));
         //assert token.getType() == Token.LP; (
         //token = this.ts.nextTok();
         //assert token.getType() == Token.NAME;
@@ -845,7 +846,7 @@ ScopeParser.prototype = {
             identifier = this.getIdentifier(symbol, currentScope, token.items[0]);
             identifier.refcount++;
         }
-
+        
         token = this.ts.nextTok();
         //assert token.getType() == Token.RP; // )
     },