History log of /src/usr.bin/make/unit-tests/varparse-dynamic.mk
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.10 11-Jan-2025 rillig

make: replace "Malformed conditional" with "Variable is undefined"

Evaluating a conditional such as ".if ${UNDEF}" produced a "Malformed
conditional" error, even though the form of the conditional was correct,
it was the content of the variable that was wrong.

Replace this message with the more accurate "Variable is undefined",
revealing which of the possibly many variables is actually undefined.


# 1.9 06-Aug-2024 rillig

make: in error message about conditionals, use single quotes

Single quotes are used less often in the conditionals themselves, which
leads to fewer confusions.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.8 19-Nov-2023 rillig

branches: 1.8.2;
tests/make: replace 'variable expressions' with 'expressions'


# 1.7 01-Jun-2023 rillig

tests/make: force line-based diagnostics to be listed in the tests

This way, contradictions between the intended output and the actual
output are closer together and have a better chance of being spotted.


# 1.6 01-Jun-2023 rillig

tests/make: clean up comments, extend a few tests


Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.5 22-Feb-2021 rillig

make: update constant names in comments

No functional change.


# 1.4 04-Feb-2021 rillig

make: rename context and ctxt to scope

This continues the previous commit, in which VAR_GLOBAL, VAR_INTERNAL
and VAR_CMDLINE were renamed.

Renaming the variable 'ctxt' was trivial since that word is used nowhere
else. In the comments though, each occurrence of the word 'context' had
to be checked individually since the word 'context' was not only used
for referring to a variable scope. It is also used to distinguish
different situations where characters are escaped in a certain way
('parsing context') and in a few other expressions.


# 1.3 21-Nov-2020 rillig

make(1): add test for dynamic variable with modifiers in global context


# 1.2 13-Sep-2020 rillig

make(1): add test for dynamic variable with modifiers in Var_Parse


# 1.1 26-Jul-2020 rillig

make(1): add test for off-by-one error in Var_Parse