From: Michael Stapelberg Date: Tue, 2 Aug 2011 17:44:44 +0000 (+0200) Subject: Bugfix: Make the criteria rules recursive in src/cfgparse.y, too (Thanks f8l) X-Git-Tag: 4.0.2~69 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=554a43ca4a7bc028255adc5d159cb32ac02aef36;p=i3%2Fi3 Bugfix: Make the criteria rules recursive in src/cfgparse.y, too (Thanks f8l) --- diff --git a/src/cfgparse.y b/src/cfgparse.y index ae789576..53b08cda 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -685,6 +685,11 @@ matchend: ; criteria: + criteria criterion + | criterion + ; + +criterion: TOK_CLASS '=' STR { printf("criteria: class = %s\n", $3);