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

pull/2270/head
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;
}
| statements '}'
| statements statement '}'
{
$$ = $1;
TAILQ_CONCAT($$, $2, entry);
free($2);
}
%%