1
0
mirror of https://github.com/tmux/tmux.git synced 2025-05-01 02:13:35 +00:00

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

View File

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