diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index bb365317652..7068adabe8a 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -2534,6 +2534,9 @@ Parse_File(char *name, FILE *stream) free(line); } + if (curFile.F != NULL) + ParseFinishLine(); + /* * Reached EOF, but it may be just EOF of an include file... */