A } can go on the same line as a command.

This commit is contained in:
nicm 2020-06-04 16:06:01 +00:00
parent 4ea3370316
commit 4403afe29c
1 changed files with 3 additions and 1 deletions

View File

@ -535,9 +535,11 @@ argument_statements : statement '}'
{ {
$$ = $1; $$ = $1;
} }
| statements '}' | statements statement '}'
{ {
$$ = $1; $$ = $1;
TAILQ_CONCAT($$, $2, entry);
free($2);
} }
%% %%