Module Name: src Committed By: rillig Date: Sat Aug 8 13:50:23 UTC 2020
Modified Files: src/usr.bin/make: Makefile var.c src/usr.bin/make/unit-tests: counter.exp vardebug.exp Added Files: src/usr.bin/make: enum.c enum.h Log Message: make(1): add more detailed debug logging for variable modifiers Before a modifier is applied to a variable, it is not yet parsed, therefore it is only possible to log a rough estimate of the modifier. But after applying it, the parsing position has advanced, and the full modifier can be logged. In addition, to fully understand how the modifiers work, it's not enough to just know the variable names and values, there are also some flags that influence how the modifiers behave. The most influential is VARE_WANTRES. Thanks to sjg for the extensive review and valuable feedback on the first drafts. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/usr.bin/make/Makefile cvs rdiff -u -r0 -r1.1 src/usr.bin/make/enum.c src/usr.bin/make/enum.h cvs rdiff -u -r1.429 -r1.430 src/usr.bin/make/var.c cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/counter.exp cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/vardebug.exp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.