Module Name: src Committed By: rillig Date: Fri Jun 23 04:56:54 UTC 2023
Modified Files: src/usr.bin/make: cond.c dir.c str.c str.h var.c src/usr.bin/make/unit-tests: cond-func-make.exp cond-func-make.mk varmod-match-escape.exp varmod-match-escape.mk varmod-match.exp varmod-match.mk Log Message: make: warn about malformed patterns in ':M', ':N' and '.if make(...)' These patterns shouldn't occur in practice, as their results are tricky to predict. Generate a warning for now, and maybe an error later. Reviewed by sjg@. To generate a diff of this commit: cvs rdiff -u -r1.351 -r1.352 src/usr.bin/make/cond.c cvs rdiff -u -r1.281 -r1.282 src/usr.bin/make/dir.c cvs rdiff -u -r1.97 -r1.98 src/usr.bin/make/str.c cvs rdiff -u -r1.16 -r1.17 src/usr.bin/make/str.h cvs rdiff -u -r1.1057 -r1.1058 src/usr.bin/make/var.c cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/cond-func-make.exp cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/cond-func-make.mk cvs rdiff -u -r1.17 -r1.18 \ src/usr.bin/make/unit-tests/varmod-match-escape.exp cvs rdiff -u -r1.9 -r1.10 src/usr.bin/make/unit-tests/varmod-match-escape.mk \ src/usr.bin/make/unit-tests/varmod-match.exp cvs rdiff -u -r1.14 -r1.15 src/usr.bin/make/unit-tests/varmod-match.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.