Since multiple hints lines do not work, make doing that a fatal error.

This commit is contained in:
Warner Losh 2006-10-24 00:02:23 +00:00
parent 82336c7dbb
commit f4359e4e36
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163636

View File

@ -191,6 +191,9 @@ Config_spec:
} | } |
HINTS ID HINTS ID
= { = {
if (hints != NULL)
errx(1, "More than one 'hints' line at %s:%d",
yyfile, yyline);
hints = $2; hints = $2;
hintmode = 1; hintmode = 1;
} }