FreeBSD-Date: 2005/04/07 15:39:38
authorMax Okumoto <okumoto@dragonflybsd.org>
Sat, 9 Apr 2005 06:23:20 +0000 (06:23 +0000)
committerMax Okumoto <okumoto@dragonflybsd.org>
Sat, 9 Apr 2005 06:23:20 +0000 (06:23 +0000)
commit75746d591a8e4ac1bd51ad20b7ccaaea17054a21
tree953a7a831ae1e4b064ebde77b5b67d45eb3199c2
parent771f72e3ee7e08c258023d1cf9201fecb831f376
FreeBSD-Date: 2005/04/07 15:39:38
Author: harti

When Parse_Error is called after the top-level Makefile is closed we
have no CURFILE anymore so we cannot print a file name or line number.

When ParseSkipLine() returns NULL (it does this when it has detected an
EOF in an .if block) try to pop the input stack and process the next line
usr.bin/make/parse.c