diff options
| author | rillig <rillig@NetBSD.org> | 2020-11-22 20:36:17 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2020-11-22 20:36:17 +0000 |
| commit | ef57217e433e324b6865350c842f0a78dbc46f10 (patch) | |
| tree | a6a4a7af9b496e2ac4c7bf62ed9e4ccd820d3b93 /usr.bin/make/parse.c | |
| parent | 60dadd0353ff36cef8d38934ca892d8de3937b57 (diff) | |
make(1): add another unit test for suffix handling
Diffstat (limited to 'usr.bin/make/parse.c')
| -rw-r--r-- | usr.bin/make/parse.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 293e2ca7faf..a20256fd0f0 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -1,4 +1,4 @@ -/* $NetBSD: parse.c,v 1.447 2020/11/22 20:29:53 rillig Exp $ */ +/* $NetBSD: parse.c,v 1.448 2020/11/22 20:36:17 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -117,7 +117,7 @@ #include "pathnames.h" /* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */ -MAKE_RCSID("$NetBSD: parse.c,v 1.447 2020/11/22 20:29:53 rillig Exp $"); +MAKE_RCSID("$NetBSD: parse.c,v 1.448 2020/11/22 20:36:17 rillig Exp $"); /* types and constants */ @@ -902,9 +902,10 @@ ParseDoSrcMain(const char *src) * the sources of said target to the list of things to create. * * Note that this will only be invoked if the user didn't specify a - * target on the command line. This is to allow .ifmake to succeed. + * target on the command line and the .MAIN occurs for the first time. * - * XXX: Double-check all of the above comment. + * See ParseDoDependencyTargetSpecial, branch SP_MAIN. + * See unit-tests/cond-func-make-main.mk. */ Lst_Append(opts.create, bmake_strdup(src)); /* |
