NetBSD/usr.bin/make
sjg ca0319bf7c When evaluating condtionals from .if we want to require
that the lhs is a variable reference, a number or a quoted string.
This helps avoid subtle bugs caused by typos.

When conditionals are being evaluated during variable expansion
we cannot be as strict becuase lhs will already have been expanded.

We therefor pass a boolean to Cond_EvalExpression to tell it how
lhs should be treated.

Add unit-tests/cond2.mk to test the above

Reviewed by: christos, joerg
2015-05-05 21:51:09 +00:00
..
PSD.doc Define some of the missing macros. The only error now is: 2014-09-30 21:33:14 +00:00
lst.lib Revert all make changes except the unit tests to the state of three 2014-09-07 20:55:34 +00:00
unit-tests When evaluating condtionals from .if we want to require 2015-05-05 21:51:09 +00:00
Makefile
Makefile.boot
arch.c
buf.c
buf.h
compat.c Revert all make changes except the unit tests to the state of three 2014-09-07 20:55:34 +00:00
cond.c When evaluating condtionals from .if we want to require 2015-05-05 21:51:09 +00:00
config.h
dir.c
dir.h
for.c
hash.c
hash.h
job.c Explain what max is and handle i reaching it again. 2015-04-16 13:31:03 +00:00
job.h
lst.h Revert all make changes except the unit tests to the state of three 2014-09-07 20:55:34 +00:00
main.c Move initialization of savederr to the block where it is used 2015-03-26 22:20:42 +00:00
make.1 It's 2015. 2015-04-10 08:43:32 +00:00
make.c src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
make.h Revert all make changes except the unit tests to the state of three 2014-09-07 20:55:34 +00:00
make_malloc.c
make_malloc.h
meta.c Use separate vars to track cwd and last dir a process read. 2015-04-11 05:24:30 +00:00
meta.h
nonints.h When evaluating condtionals from .if we want to require 2015-05-05 21:51:09 +00:00
parse.c Comments, and one very minor tidyup. 2014-09-18 08:06:13 +00:00
pathnames.h
sprite.h
str.c
strlist.c
strlist.h
suff.c Revert all make changes except the unit tests to the state of three 2014-09-07 20:55:34 +00:00
targ.c Revert all make changes except the unit tests to the state of three 2014-09-07 20:55:34 +00:00
trace.c
trace.h
util.c
var.c When evaluating condtionals from .if we want to require 2015-05-05 21:51:09 +00:00