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: quote ':S' in error message about missing...
details: https://anonhg.NetBSD.org/src/rev/867a49c2d27e
branches: trunk
changeset: 952992:867a49c2d27e
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Feb 23 00:27:47 2021 +0000
description:
make: quote ':S' in error message about missing delimiter
diffstat:
usr.bin/make/unit-tests/moderrs.exp | 2 +-
usr.bin/make/var.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r ea90ce0a44fa -r 867a49c2d27e usr.bin/make/unit-tests/moderrs.exp
--- a/usr.bin/make/unit-tests/moderrs.exp Tue Feb 23 00:25:06 2021 +0000
+++ b/usr.bin/make/unit-tests/moderrs.exp Tue Feb 23 00:27:47 2021 +0000
@@ -57,7 +57,7 @@
mod-subst-delimiter:
-make: Missing delimiter for :S modifier
+make: Missing delimiter for modifier ':S'
1:
make: Unfinished modifier for "VAR" (',' missing)
2:
diff -r ea90ce0a44fa -r 867a49c2d27e usr.bin/make/var.c
--- a/usr.bin/make/var.c Tue Feb 23 00:25:06 2021 +0000
+++ b/usr.bin/make/var.c Tue Feb 23 00:27:47 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.845 2021/02/23 00:25:06 rillig Exp $ */
+/* $NetBSD: var.c,v 1.846 2021/02/23 00:27:47 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.845 2021/02/23 00:25:06 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.846 2021/02/23 00:27:47 rillig Exp $");
typedef enum VarFlags {
VFL_NONE = 0,
@@ -2801,7 +2801,7 @@
char delim = (*pp)[1];
if (delim == '\0') {
- Error("Missing delimiter for :S modifier");
+ Error("Missing delimiter for modifier ':S'");
(*pp)++;
return AMR_CLEANUP;
}
Home |
Main Index |
Thread Index |
Old Index