From f4f64df7ffac74a20b81485d903f1915b833b7e1 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 24 Oct 2006 00:02:23 +0000 Subject: Since multiple hints lines do not work, make doing that a fatal error. --- usr.sbin/config/config.y | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr.sbin/config') diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y index 344a777..714dbe1 100644 --- a/usr.sbin/config/config.y +++ b/usr.sbin/config/config.y @@ -191,6 +191,9 @@ Config_spec: } | HINTS ID = { + if (hints != NULL) + errx(1, "More than one 'hints' line at %s:%d", + yyfile, yyline); hints = $2; hintmode = 1; } -- cgit v1.1