Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): document ApplyModifiersState.cp



details:   https://anonhg.NetBSD.org/src/rev/023ab6d9374e
branches:  trunk
changeset: 936282:023ab6d9374e
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Jul 24 07:29:18 2020 +0000

description:
make(1): document ApplyModifiersState.cp

diffstat:

 usr.bin/make/var.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 0a5eb190ff0a -r 023ab6d9374e usr.bin/make/var.c
--- a/usr.bin/make/var.c        Fri Jul 24 07:24:21 2020 +0000
+++ b/usr.bin/make/var.c        Fri Jul 24 07:29:18 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.299 2020/07/24 07:24:21 rillig Exp $ */
+/*     $NetBSD: var.c,v 1.300 2020/07/24 07:29:18 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.299 2020/07/24 07:24:21 rillig Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.300 2020/07/24 07:29:18 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.299 2020/07/24 07:24:21 rillig Exp $");
+__RCSID("$NetBSD: var.c,v 1.300 2020/07/24 07:29:18 rillig Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -2082,8 +2082,8 @@
     /* read-write */
     char *nstr;
     const char *start;
-    const char *cp;            /* Secondary pointer into str (place marker
-                                * for tstr) */
+    const char *cp;            /* The position where parsing continues
+                                * after the current modifier. */
     char termc;                        /* Character which terminated scan */
     char missing_delim;                /* For error reporting */
     int modifier;              /* that we are processing */



Home | Main Index | Thread Index | Old Index