Subject: CVS commit: src/usr.bin/make
To: None <source-changes@NetBSD.org>
From: Simon J. Gerraty <sjg@netbsd.org>
List: source-changes
Date: 04/13/2004 16:06:23
Module Name: src
Committed By: sjg
Date: Tue Apr 13 16:06:23 UTC 2004
Modified Files:
src/usr.bin/make: cond.c
src/usr.bin/make/unit-tests: cond1 test.exp
Log Message:
Allow "string" and "${varspec}" on lhs of conditionals.
This makes it possible to use expressions like
${("${LIST:Msomething"}):?present:absent}
it also makes treatment of lhs and rhs more consistent, and
makes CondToken easier to read.
Update unit-test/cond1 to test new features.
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/usr.bin/make/cond.c
cvs rdiff -r1.2 -r1.3 src/usr.bin/make/unit-tests/cond1
cvs rdiff -r1.10 -r1.11 src/usr.bin/make/unit-tests/test.exp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.