cmdparse: don’t allow empty commands

This commit is contained in:
Michael Stapelberg 2011-03-14 23:03:13 +01:00
parent 8928823e07
commit 627683c053
1 changed files with 2 additions and 2 deletions

View File

@ -153,8 +153,8 @@ char *parse_cmd(const char *new) {
%% %%
commands: /* empty */ commands:
| commands optwhitespace ';' optwhitespace command commands optwhitespace ';' optwhitespace command
| command | command
{ {
owindow *current; owindow *current;