summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r--usr.bin/make/parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index bb36531..6a82429 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...
*/
OpenPOWER on IntegriCloud