]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Make the criteria rules recursive in src/cfgparse.y, too (Thanks f8l)
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Aug 2011 17:44:44 +0000 (19:44 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Aug 2011 17:46:14 +0000 (19:46 +0200)
src/cfgparse.y

index ae789576195425b16aafebfeedaf410ed9e4beb9..53b08cda1ad146898c44aaf08544fc77362e4310 100644 (file)
@@ -685,6 +685,11 @@ matchend:
     ;
 
 criteria:
+    criteria criterion
+    | criterion
+    ;
+
+criterion:
     TOK_CLASS '=' STR
     {
         printf("criteria: class = %s\n", $3);