From 0e8b37f5f4bf77a2187a303b34ae84f11f0ab3c9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 18:46:57 +0800 Subject: [PATCH] JSDOC/Walker2.js --- JSDOC/Walker2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2