diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index bb365317652..6a82429358e 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); } + /* finish the last line also (if there was one) */ + ParseFinishLine(); + /* * Reached EOF, but it may be just EOF of an include file... */