summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-03-10 15:30:09 +0000
committerharti <harti@FreeBSD.org>2005-03-10 15:30:09 +0000
commite98f139ac2d2edfb3832c2f571b7afe71eba04de (patch)
treec9096926b4599f6b4b4642852889e79b647bad5c /usr.bin
parent53e474b9c4b6d81940a4dc0a88d7aa091d48af89 (diff)
downloadFreeBSD-src-e98f139ac2d2edfb3832c2f571b7afe71eba04de.zip
FreeBSD-src-e98f139ac2d2edfb3832c2f571b7afe71eba04de.tar.gz
Call ParseFinishLine() for the last line of a file too.
Diffstat (limited to 'usr.bin')
-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