Date: Thu, 22 Jul 2004 11:12:01 +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: <200407221112.i6MBC2OI098242@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2004-07-22 11:12:01 UTC FreeBSD src repository Modified files: usr.bin/make parse.c Log: Fix handling of comments on .elif lines. The patch given in a followup to the PR failed, because the line skipping function is actually called from two places in the code to do quite different things (this should be two functions probably): in a false .if to skip to the next line beginning with a dot and to collect .for loops. In the seconds case we should not skip comments, because they are actually harder to handle than we need for the .if case and should defer this to the main code. PR: bin/25627 Submitted by: Seth Kingsley (original patch) Revision Changes Path 1.57 +7 -0 src/usr.bin/make/parse.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407221112.i6MBC2OI098242>