From: Michael Stapelberg Date: Mon, 14 Mar 2011 22:03:25 +0000 (+0100) Subject: cmdparse: don’t allow empty operations X-Git-Tag: tree-pr3~127 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f900fab453e394aad28923e236694f185ba4e949;p=i3%2Fi3 cmdparse: don’t allow empty operations --- diff --git a/src/cmdparse.y b/src/cmdparse.y index 5eb4a0b1..14fbbf90 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -277,7 +277,7 @@ criteria: ; operations: - | operation optwhitespace + operation optwhitespace | operations ',' optwhitespace operation ;