From 554a43ca4a7bc028255adc5d159cb32ac02aef36 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 2 Aug 2011 19:44:44 +0200 Subject: [PATCH] Bugfix: Make the criteria rules recursive in src/cfgparse.y, too (Thanks f8l) --- src/cfgparse.y | 5 +++++ 1 file changed, 5 insertions(+) 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);