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: update comments for Expr, amending the pr...



details:   https://anonhg.NetBSD.org/src/rev/01d72af6043a
branches:  trunk
changeset: 1018746:01d72af6043a
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Feb 15 17:59:08 2021 +0000

description:
make: update comments for Expr, amending the previous commit

diffstat:

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

diffs (29 lines):

diff -r b0d6782a70cc -r 01d72af6043a usr.bin/make/var.c
--- a/usr.bin/make/var.c        Mon Feb 15 17:46:36 2021 +0000
+++ b/usr.bin/make/var.c        Mon Feb 15 17:59:08 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.823 2021/02/15 17:44:09 rillig Exp $ */
+/*     $NetBSD: var.c,v 1.824 2021/02/15 17:59:08 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -139,7 +139,7 @@
 #include "metachar.h"
 
 /*     "@(#)var.c      8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.823 2021/02/15 17:44:09 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.824 2021/02/15 17:59:08 rillig Exp $");
 
 typedef enum VarFlags {
        VAR_NONE        = 0,
@@ -1983,8 +1983,8 @@
  * during parsing though.
  *
  * Evaluating the modifier usually takes the current value of the variable
- * expression from st->value, or the variable name from st->var->name and
- * stores the result back in st->value via Expr_SetValueOwn or
+ * expression from st->expr->value, or the variable name from st->var->name
+ * and stores the result back in expr->value via Expr_SetValueOwn or
  * Expr_SetValueRefer.
  *
  * If evaluating fails (as of 2020-08-23), an error message is printed using



Home | Main Index | Thread Index | Old Index