Date: Tue, 20 Jul 2004 07:42:07 +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 cond.c make.h parse.c Message-ID: <200407200742.i6K7g7mb085043@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2004-07-20 07:42:07 UTC
FreeBSD src repository
Modified files:
usr.bin/make cond.c make.h parse.c
Log:
Improve make's diagnostic of mistmatched .if-.endif. This patch is
slightly different from the patch in the PR. The problem is, that
make handles .if clauses inside false .if clauses simply by
counting them - it doesn't put them onto the conditional stack, nor even
parses them so we need an extra line number stack for these ifs.
PR: bin/61257
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Revision Changes Path
1.28 +21 -2 src/usr.bin/make/cond.c
1.24 +16 -0 src/usr.bin/make/make.h
1.56 +1 -15 src/usr.bin/make/parse.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407200742.i6K7g7mb085043>
