cmdparse: don’t allow empty commands
This commit is contained in:
parent
8928823e07
commit
627683c053
|
@ -153,8 +153,8 @@ char *parse_cmd(const char *new) {
|
|||
|
||||
%%
|
||||
|
||||
commands: /* empty */
|
||||
| commands optwhitespace ';' optwhitespace command
|
||||
commands:
|
||||
commands optwhitespace ';' optwhitespace command
|
||||
| command
|
||||
{
|
||||
owindow *current;
|
||||
|
|
Loading…
Reference in New Issue