Config parser: inline arraysep

This commit is contained in:
Alexander A. Klimov 2019-08-28 11:44:55 +02:00
parent fd88ac2f83
commit 360cb50c9e
1 changed files with 2 additions and 5 deletions

View File

@ -691,10 +691,10 @@ rterm_items_inner: rterm
$$ = new std::vector<std::unique_ptr<Expression> >();
$$->emplace_back($1);
}
| rterm_items_inner arraysep rterm
| rterm_items_inner ',' optional_newlines rterm
{
$$ = $1;
$$->emplace_back($3);
$$->emplace_back($4);
}
;
@ -1232,7 +1232,4 @@ sep: ',' optional_newlines
| newlines
;
arraysep: ',' optional_newlines
;
%%