Adv item search: fix exprList not translating its first production correctly

This commit is contained in:
phantamanta44 2021-03-14 11:36:02 -05:00
parent 62cd641a80
commit c83216921e

View file

@ -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])];
}