aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorokan2014-01-30 22:17:22 +0000
committerokan2014-01-30 22:17:22 +0000
commitedcee6832d3520912024707777453cb30f809e6b (patch)
treea1972a645b81ddc6f50c8adb445f1bef5eb122a8 /parse.y
parent898be2f9c2c9502ebd3b95e65042473b0ddca25e (diff)
downloadcwm-edcee6832d3520912024707777453cb30f809e6b.tar.gz
Switch ignoreq to winname struct since it's basically the same thing;
removes limit on name matching.
Diffstat (limited to '')
-rw-r--r--parse.y9
1 files changed, 2 insertions, 7 deletions
diff --git a/parse.y b/parse.y
index f42fd56..59b8d21 100644
--- a/parse.y
+++ b/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.56 2014/01/29 18:34:22 okan Exp $ */
+/* $OpenBSD: parse.y,v 1.57 2014/01/30 22:17:22 okan Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -156,12 +156,7 @@ main : FONTNAME STRING {
free($3);
}
| IGNORE STRING {
- if (!conf_ignore(conf, $2)) {
- yyerror("ignore windowname too long");
- free($2);
- YYERROR;
- }
- free($2);
+ conf_ignore(conf, $2);
}
| BIND STRING string {
if (!conf_bind_kbd(conf, $2, $3)) {