diff options
| author | rillig <rillig@NetBSD.org> | 2020-08-20 07:15:52 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2020-08-20 07:15:52 +0000 |
| commit | 335b46e40ab6788c6fb6592ca23d31f05ab33a4e (patch) | |
| tree | 05ca2ac8b3a6289500ed0bba9b84cba707d679ca | |
| parent | 68cc1f82b5a2a29230b17ae9a3692d5e377b1d21 (diff) | |
make(1): make a few comments more precise
| -rw-r--r-- | usr.bin/make/var.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index a60a73617dc..1894e8505b7 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -1,4 +1,4 @@ -/* $NetBSD: var.c,v 1.453 2020/08/20 07:09:06 rillig Exp $ */ +/* $NetBSD: var.c,v 1.454 2020/08/20 07:15:52 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -69,14 +69,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: var.c,v 1.453 2020/08/20 07:09:06 rillig Exp $"; +static char rcsid[] = "$NetBSD: var.c,v 1.454 2020/08/20 07:15:52 rillig Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: var.c,v 1.453 2020/08/20 07:09:06 rillig Exp $"); +__RCSID("$NetBSD: var.c,v 1.454 2020/08/20 07:15:52 rillig Exp $"); #endif #endif /* not lint */ #endif @@ -1921,19 +1921,18 @@ typedef struct { GNode * const ctxt; const VarEvalFlags eflags; - char *val; /* The value of the expression before the - * modifier is applied */ - char *newVal; /* The new value after applying the modifier - * to the expression */ + char *val; /* The old value of the expression, + * before applying the modifier */ + char *newVal; /* The new value of the expression, + * after applying the modifier */ char missing_delim; /* For error reporting */ char sep; /* Word separator in expansions * (see the :ts modifier) */ - Boolean oneBigWord; /* TRUE if the variable value is treated as a - * single big word, even if it contains - * embedded spaces (as opposed to the - * usual behaviour of treating it as - * several space-separated words). */ + Boolean oneBigWord; /* TRUE if some modifiers that otherwise split + * the variable value into words, like :S and + * :C, treat the variable value as a single big + * word, possibly containing spaces. */ } ApplyModifiersState; typedef enum { |
