Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make/unit-tests make(1): update documentation of tes...



details:   https://anonhg.NetBSD.org/src/rev/4b7311cfa11d
branches:  trunk
changeset: 980266:4b7311cfa11d
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Jan 30 13:50:18 2021 +0000

description:
make(1): update documentation of test lint.mk

diffstat:

 usr.bin/make/unit-tests/lint.mk |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r b0f751be9ff6 -r 4b7311cfa11d usr.bin/make/unit-tests/lint.mk
--- a/usr.bin/make/unit-tests/lint.mk   Sat Jan 30 13:12:00 2021 +0000
+++ b/usr.bin/make/unit-tests/lint.mk   Sat Jan 30 13:50:18 2021 +0000
@@ -1,10 +1,13 @@
-# $NetBSD: lint.mk,v 1.3 2020/09/15 16:22:04 rillig Exp $
+# $NetBSD: lint.mk,v 1.4 2021/01/30 13:50:18 rillig Exp $
 #
-# Demonstrates stricter checks that are only enabled in the lint mode,
-# using the -dL option.
+# Demonstrates stricter checks that are only enabled in lint mode, using the
+# option -dL.
 
-# Ouch: as of 2020-08-03, make exits successfully even though the error
-# message has been issued as PARSE_FATAL.
+# Before main.c 1.421 from 2020-11-01, make exited successfully even though
+# the error message had been issued as PARSE_FATAL.  This was because back
+# then, make checked for parse errors only after parsing each top-level
+# makefile, in Parse_File.  After that, when expanding variable expressions
+# in shell commands, the parse errors were not checked again.
 
 # Ouch: as of 2020-08-03, the variable is malformed and parsing stops
 # for a moment, but is continued after the wrongly-guessed end of the



Home | Main Index | Thread Index | Old Index