From: Alan Knowles Date: Fri, 16 Jul 2010 05:13:21 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=2ab35f5dd04eca02c13186ef110671609824ec0f JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 473b5d9..1db73dd 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -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; // ) },