Adv item search: fix exprList not translating its first production correctly
This commit is contained in:
parent
62cd641a80
commit
c83216921e
1 changed files with 1 additions and 1 deletions
|
@ -661,7 +661,7 @@ const ExprParser = (function() {
|
||||||
case 'exprList':
|
case 'exprList':
|
||||||
switch (ast.prod) {
|
switch (ast.prod) {
|
||||||
case 0:
|
case 0:
|
||||||
return [...ast.children[0], trans(ast.children[2])];
|
return [...trans(ast.children[0]), trans(ast.children[2])];
|
||||||
case 1:
|
case 1:
|
||||||
return [trans(ast.children[0])];
|
return [trans(ast.children[0])];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue