From 7bc9e2de042ecc11966a647fe42c0a2313827ced Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 14:17:12 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index ee8f1c7..c50402d 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -631,13 +631,20 @@ ScopeParser.prototype = { break; case '[': //Token.LB: - bracketNesting++; + + var ts = this.ts; + var _this = this; + token.items.forEach(function(ns) { + _this.ts = new TokenStream(ns); + _this.parseExpression(); + }); + break; - +/* case ']': //Token.RB: bracketNesting--; break; - +*/ case '(': //Token.LP: parensNesting++; break; -- 2.39.2