1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00

Don't believe we have a requirement until after we've checked all the

known key words. This will make error messages slightly better in
weird corner cases, but should otherwise be a nop.
This commit is contained in:
Warner Losh 2014-02-03 16:47:10 +00:00
parent 5da753bc0a
commit 034d9de50d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261437

View File

@ -497,7 +497,6 @@ read_file(char *fname)
objprefix = ns(wd);
goto nextparam;
}
nreqs++;
if (eq(wd, "local")) {
filetype = LOCAL;
goto nextparam;
@ -514,6 +513,7 @@ read_file(char *fname)
nowerror = 1;
goto nextparam;
}
nreqs++;
STAILQ_FOREACH(dp, &dtab, d_next)
if (eq(dp->d_name, wd)) {
dp->d_done |= DEVDONE;