From: Michael Stapelberg Date: Fri, 13 May 2011 19:18:20 +0000 (+0200) Subject: Fix kill command with trailing whitespace X-Git-Tag: tree-pr3~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3d2cd6abaa5138320290f45b985cf6fb00df36e8;p=i3%2Fi3 Fix kill command with trailing whitespace --- diff --git a/src/cmdparse.y b/src/cmdparse.y index 73658eb2..47c4fa37 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -421,6 +421,7 @@ kill: optional_kill_mode: /* empty */ { $$ = KILL_WINDOW; } + | WHITESPACE { $$ = KILL_WINDOW; } | WHITESPACE TOK_WINDOW { $$ = KILL_WINDOW; } | WHITESPACE TOK_CLIENT { $$ = KILL_CLIENT; } ;