From edcee6832d3520912024707777453cb30f809e6b Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 30 Jan 2014 22:17:22 +0000 Subject: Switch ignoreq to winname struct since it's basically the same thing; removes limit on name matching. --- parse.y | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'parse.y') 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 @@ -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)) { -- cgit v1.2.3-2-gb3c3