mirror of https://github.com/Icinga/icinga2.git
Config parser: inline arraysep
This commit is contained in:
parent
fd88ac2f83
commit
360cb50c9e
lib/config
|
@ -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
|
||||
;
|
||||
|
||||
%%
|
||||
|
|
Loading…
Reference in New Issue