From owner-cvs-all Wed Mar 14 18:51:15 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B7F3537B718; Wed, 14 Mar 2001 18:51:11 -0800 (PST) (envelope-from will@FreeBSD.org) Received: (from will@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2F2pBk17530; Wed, 14 Mar 2001 18:51:11 -0800 (PST) (envelope-from will) Message-Id: <200103150251.f2F2pBk17530@freefall.freebsd.org> From: Will Andrews Date: Wed, 14 Mar 2001 18:51:11 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make parse.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG will 2001/03/14 18:51:11 PST Modified files: usr.bin/make parse.c Log: Fix make(1) bug: nested comments may be placed in .if, .else .if, and .endif statements but can't be placed in .elif. Basically, the problem was that ParseSkipLine() didn't handle comments the same way that ParseReadLine() did, and thus you had errors with comments that are on a conditional line (i.e. "^.") rather than a non-conditional line. MFC candidate for 4.3-STABLE and 3.5-STABLE. PR: 25627 Bug found by: jhs Fix submitted by: Seth Kingsley (thanks!!) Revision Changes Path 1.27 +16 -10 src/usr.bin/make/parse.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message