Subject: CVS commit: src/usr.bin/make
To: None <source-changes@NetBSD.org>
From: Simon J. Gerraty <sjg@netbsd.org>
List: source-changes
Date: 05/11/2006 15:37:07
Module Name:	src
Committed By:	sjg
Date:		Thu May 11 15:37:07 UTC 2006

Modified Files:
	src/usr.bin/make: var.c
	src/usr.bin/make/unit-tests: Makefile modmisc test.exp
Added Files:
	src/usr.bin/make/unit-tests: moderrs

Log Message:
Extract the variable modifier logic to a separate function.
This cuts Var_Parse in half! and allows the modifier logic to
be used recursively - when getting modifiers via variables.

Add new unit-test, to check that certain error cases are handled
correctly.


To generate a diff of this commit:
cvs rdiff -r1.107 -r1.108 src/usr.bin/make/var.c
cvs rdiff -r1.19 -r1.20 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -r0 -r1.1 src/usr.bin/make/unit-tests/moderrs
cvs rdiff -r1.3 -r1.4 src/usr.bin/make/unit-tests/modmisc
cvs rdiff -r1.17 -r1.18 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.