summaryrefslogtreecommitdiff
path: root/app/cwm/parse.y
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2014-01-30 22:17:23 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2014-01-30 22:17:23 +0000
commitad176497cefbfb6d80aea0bf91189251ca9e960f (patch)
tree4c614a62e13acb6888c45adb48ee549c6b193e52 /app/cwm/parse.y
parent5959430717703c7b90852311331b005ee9ff7e7b (diff)
Switch ignoreq to winname struct since it's basically the same thing;
removes limit on name matching.
Diffstat (limited to 'app/cwm/parse.y')
-rw-r--r--app/cwm/parse.y9
1 files changed, 2 insertions, 7 deletions
diff --git a/app/cwm/parse.y b/app/cwm/parse.y
index f42fd56c2..59b8d21fb 100644
--- a/app/cwm/parse.y
+++ b/app/cwm/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)) {