diff options
author | okan | 2014-01-30 22:17:22 +0000 |
---|---|---|
committer | okan | 2014-01-30 22:17:22 +0000 |
commit | edcee6832d3520912024707777453cb30f809e6b (patch) | |
tree | a1972a645b81ddc6f50c8adb445f1bef5eb122a8 /parse.y | |
parent | 898be2f9c2c9502ebd3b95e65042473b0ddca25e (diff) | |
download | cwm-edcee6832d3520912024707777453cb30f809e6b.tar.gz |
Switch ignoreq to winname struct since it's basically the same thing;
removes limit on name matching.
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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)) { |