From fa4fc2c4832f83183030e04339e69a017147c1ea Mon Sep 17 00:00:00 2001 From: claudio Date: Sun, 9 Sep 2018 13:44:54 +0000 Subject: [PATCH] Remove another optnl. In general we no longer support a newline between the keyword and "{". In this case it is 'set {'. Newlines afterwards are accepted. --- usr.sbin/bgpd/parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index 2e8a6de0635..e976555dde3 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.345 2018/09/09 13:32:05 claudio Exp $ */ +/* $OpenBSD: parse.y,v 1.346 2018/09/09 13:44:54 claudio Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer @@ -2238,7 +2238,7 @@ filter_set : /* empty */ { $$ = NULL; } TAILQ_INIT($$); TAILQ_INSERT_TAIL($$, $2, entry); } - | SET optnl "{" optnl filter_set_l optnl "}" { $$ = $5; } + | SET "{" optnl filter_set_l optnl "}" { $$ = $4; } ; filter_set_l : filter_set_l comma filter_set_opt { -- 2.20.1