From 627683c053dc0cfbb75f8a19d77e62e3ff014744 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 14 Mar 2011 23:03:13 +0100 Subject: [PATCH] =?utf8?q?cmdparse:=20don=E2=80=99t=20allow=20empty=20comm?= =?utf8?q?ands?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cmdparse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmdparse.y b/src/cmdparse.y index be402f9e..5eb4a0b1 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -153,8 +153,8 @@ char *parse_cmd(const char *new) { %% -commands: /* empty */ - | commands optwhitespace ';' optwhitespace command +commands: + commands optwhitespace ';' optwhitespace command | command { owindow *current; -- 2.39.5