Date: Fri, 11 Mar 2005 11:29:39 +0000 (UTC) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make parse.c Message-ID: <200503111129.j2BBTdgX092502@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2005-03-11 11:29:39 UTC
FreeBSD src repository
Modified files:
usr.bin/make parse.c
Log:
Call ParseFinishLine() also for the last line in a file. This
patch differs from the previous one in that it calls the function
only when a real file hits EOF. The bodies of .for loops are also
handled as files, but for these we don't want to end a dependency block
on the 'EOF' as in:
foo:
do-this
.for ...
do-something
.endfor
do-more
Revision Changes Path
1.84 +3 -0 src/usr.bin/make/parse.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503111129.j2BBTdgX092502>
