From c83216921e78b72bfaaa23da817271510d3359e3 Mon Sep 17 00:00:00 2001 From: phantamanta44 Date: Sun, 14 Mar 2021 11:36:02 -0500 Subject: [PATCH] Adv item search: fix exprList not translating its first production correctly --- expr_parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expr_parser.js b/expr_parser.js index 8e5bdb9..6e47058 100644 --- a/expr_parser.js +++ b/expr_parser.js @@ -661,7 +661,7 @@ const ExprParser = (function() { case 'exprList': switch (ast.prod) { case 0: - return [...ast.children[0], trans(ast.children[2])]; + return [...trans(ast.children[0]), trans(ast.children[2])]; case 1: return [trans(ast.children[0])]; }