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: fix typos in comments



details:   https://anonhg.NetBSD.org/src/rev/2dfeb510f2de
branches:  trunk
changeset: 985760:2dfeb510f2de
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Sep 06 19:38:30 2021 +0000

description:
make: fix typos in comments

diffstat:

 usr.bin/make/unit-tests/var-eval-short.mk |  8 ++++----
 usr.bin/make/var.c                        |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (61 lines):

diff -r 6927139f836c -r 2dfeb510f2de usr.bin/make/unit-tests/var-eval-short.mk
--- a/usr.bin/make/unit-tests/var-eval-short.mk Mon Sep 06 17:34:33 2021 +0000
+++ b/usr.bin/make/unit-tests/var-eval-short.mk Mon Sep 06 19:38:30 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: var-eval-short.mk,v 1.5 2021/04/04 13:35:26 rillig Exp $
+# $NetBSD: var-eval-short.mk,v 1.6 2021/09/06 19:38:30 rillig Exp $
 #
 # Tests for each variable modifier to ensure that they only do the minimum
 # necessary computations.  If the result of the expression is not needed, they
@@ -44,13 +44,13 @@
 .if 0 && ${:Uword:@var@${FAIL}@}
 .endif
 
-# Before var.c,v 1.877 from 2021-03-14, the modifier ':[...]' did not expand
+# Before var.c 1.877 from 2021-03-14, the modifier ':[...]' did not expand
 # the nested expression ${FAIL} and then tried to parse the unexpanded text,
 # which failed since '$' is not a valid range character.
 .if 0 && ${:Uword:[${FAIL}]}
 .endif
 
-# Before var.c,v 1.867 from 2021-03-14, the modifier ':_' defined the variable
+# Before var.c 1.867 from 2021-03-14, the modifier ':_' defined the variable
 # even though the whole expression should have only been parsed, not
 # evaluated.
 .if 0 && ${:Uword:_=VAR}
@@ -58,7 +58,7 @@
 .  error
 .endif
 
-# Before var.c,v 1.856 from 2021-03-14, the modifier ':C' did not expand the
+# Before var.c 1.856 from 2021-03-14, the modifier ':C' did not expand the
 # nested expression ${FAIL} and then tried to compile the unexpanded text as a
 # regular expression, which failed both because of the '{FAIL}', which is not
 # a valid repetition, and because of the '****', which are repeated
diff -r 6927139f836c -r 2dfeb510f2de usr.bin/make/var.c
--- a/usr.bin/make/var.c        Mon Sep 06 17:34:33 2021 +0000
+++ b/usr.bin/make/var.c        Mon Sep 06 19:38:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.948 2021/08/25 22:14:38 rillig Exp $ */
+/*     $NetBSD: var.c,v 1.949 2021/09/06 19:38:30 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -140,7 +140,7 @@
 #include "metachar.h"
 
 /*     "@(#)var.c      8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.948 2021/08/25 22:14:38 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.949 2021/09/06 19:38:30 rillig Exp $");
 
 /*
  * Variables are defined using one of the VAR=value assignments.  Their
@@ -1975,7 +1975,7 @@
  * After parsing, the modifier is evaluated.  The side effects from evaluating
  * nested variable expressions in the modifier text often already happen
  * during parsing though.  For most modifiers this doesn't matter since their
- * only noticeable effect is that the update the value of the expression.
+ * only noticeable effect is that they update the value of the expression.
  * Some modifiers such as ':sh' or '::=' have noticeable side effects though.
  *
  * Evaluating the modifier usually takes the current value of the variable



Home | Main Index | Thread Index | Old Index