From d41f84f7dc4fc7af1e04af6322467fc37a6bd774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 22 Apr 2018 00:20:32 +0200 Subject: [PATCH] Push result of parsed of generator clause instead of merging into result issue7345 review42111002 --- src/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.js b/src/common.js index a16f84fd1b..844a685c21 100644 --- a/src/common.js +++ b/src/common.js @@ -1610,7 +1610,7 @@ var result = []; tokens.forEach(function(clause) { if (this.is_generator(clause)) { - jQuery.merge(result, this.parse_clause(clause)); + result.push(this.parse_clause(clause)); } else if ((clause == 'OR') || (clause == 'AND')) { result.push(clause); } else if ((clause.length == 1) &&