From 6f304f24c95a48bbbfca73560539dfc1c226e8fd Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 11:44:24 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index d45cb66..28be76b 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -506,17 +506,22 @@ ScopeParser.prototype = { var parensNesting = 0; var isInObjectLitAr; var isObjectLitAr = [ false ]; - while (token = this.ts.lookTok()) { - - - - currentScope = this.scopes[this.scopes.length-1]; + + currentScope = this.scopes[this.scopes.length-1]; var scopeIndent = ''; this.scopes.forEach(function() { scopeIndent += ' '; }); + + while (token = this.ts.lookTok()) { + + + /* + // moved out of loop? + + */ print(scopeIndent + 'OBJLIT.len='+ isObjectLitAr.length + ' ' + token.data); //println(""+token.data+""); -- 2.39.2