From: Alan Knowles Date: Thu, 15 Jul 2010 06:21:01 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=d7ee237b7c37aa077259aa11dd43a08df6ab7699 JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 267152b..57ba1aa 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -635,7 +635,9 @@ ScopeParser.prototype = { var ts = this.ts; var _this = this; token.items.forEach(function(ns) { + _this.ts = new TokenStream(ns); + _this.ts.cursor = -1; _this.parseExpression(); }); this.ts = ts;