From: Alan Knowles Date: Thu, 15 Jul 2010 10:46:57 +0000 (+0800) Subject: JSDOC/Walker2.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=0e8b37f5f4bf77a2187a303b34ae84f11f0ab3c9 JSDOC/Walker2.js --- diff --git a/JSDOC/Walker2.js b/JSDOC/Walker2.js index 55ae03f..a4afd6d 100644 --- a/JSDOC/Walker2.js +++ b/JSDOC/Walker2.js @@ -575,7 +575,7 @@ Walker2 = XObject.define( print("got for : function() {"); //scopeName = this.ts.look(-3).data; - this.ts.balanceN(Script.TOKlparen); + this.ts.balance('('); //print(token.toString()) token = this.ts.nextTok(); // should be { //print(token.toString()) @@ -598,7 +598,7 @@ Walker2 = XObject.define( (this.ts.lookTok(1).type == 'NAME') ) { //scopeName = this.ts.look(-3).data; - this.ts.balanceN('('); + this.ts.balance('('); token = this.ts.nextTok(); // should be { var fnScope = new Scope(this.braceNesting, scope, token.n, ''); @@ -626,7 +626,7 @@ Walker2 = XObject.define( // (this.ts.lookTok(-4).tokN == Script.TOKidentifier) ) { //scopeName = this.ts.look(-3).data; - this.ts.balanceN('('); + this.ts.balance('('); token = this.ts.nextTok(); // should be { var fnScope = new Scope(this.braceNesting, scope, token.n, '$private$'); this.indexedScopes[this.ts.cursor] = fnScope;