From fedc5a278a28eda9dc8d22b3c4715efe15e5945e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 6 Nov 2015 16:50:22 +0800 Subject: [PATCH] JSDOC/ScopeParser.vala --- JSDOC/ScopeParser.vala | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/JSDOC/ScopeParser.vala b/JSDOC/ScopeParser.vala index 4d20246..0ac5a51 100644 --- a/JSDOC/ScopeParser.vala +++ b/JSDOC/ScopeParser.vala @@ -659,11 +659,12 @@ namespace JSDOC { } - var _this = this; - token.items.forEach(function(expr) { - _this.ts = new TokenStream(expr); - _this.parseExpression(scope) - }); + + foreach(var expr in token.items) { + + this.ts = new TokenStream(expr); + this.parseExpression(scope); + } this.ts = curTS; -- 2.39.2