summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-03-15 12:18:26 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-03-15 12:18:26 +0100
commit117e3c4bbfd4b7f1b2cae6ef9e5cb603fe33307a (patch)
treebec3b7ddc4c2391c8aae2e7f920dcf9d184eec8c
parent46c1a583a5c1ea81e8d8f372bd7f614506a63938 (diff)
Fixes a bug in pair set intervals.
Pair intervals in form (a,b)..(c,d) were mishanded. Thanks to Alexander Shikoff for the bugreport.
-rw-r--r--filter/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 0166d27b..7828bf8b 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -495,7 +495,7 @@ pair_item:
/* Hack: $2 and $4 should be pair_expr, but that would cause shift/reduce conflict */
if ((pair_a($2) != pair_b($2)) || (pair_a($4) != pair_b($4)))
cf_error("syntax error");
- $$ = f_new_pair_item(pair_b($2), pair_b($4), $8, $10);
+ $$ = f_new_pair_item(pair_b($2), $8, pair_b($4), $10);
}
;