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:
|
||||||
| commands optwhitespace ';' optwhitespace command
|
commands optwhitespace ';' optwhitespace command
|
||||||
| command
|
| command
|
||||||
{
|
{
|
||||||
owindow *current;
|
owindow *current;
|
||||||
|
|
Loading…
Reference in New Issue