Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/make



Module Name:    src
Committed By:   rillig
Date:           Tue May  9 19:43:12 UTC 2023

Modified Files:
        src/usr.bin/make: for.c
        src/usr.bin/make/unit-tests: check-expect.lua directive-for-errors.exp
            directive-for-errors.mk directive-for-escape.exp
            directive-for-escape.mk directive-for.exp directive-for.mk

Log Message:
make: skip syntactically wrong .for loops

When a .for loop cannot be interpreted correctly, for example when there
are no iteration variables or the number of words doesn't match the
iteration variables, skip the body of the .for loop instead of
interpreting it once.


To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 src/usr.bin/make/for.c
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/check-expect.lua \
    src/usr.bin/make/unit-tests/directive-for-errors.exp
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/directive-for-errors.mk
cvs rdiff -u -r1.18 -r1.19 \
    src/usr.bin/make/unit-tests/directive-for-escape.exp \
    src/usr.bin/make/unit-tests/directive-for.mk
cvs rdiff -u -r1.17 -r1.18 \
    src/usr.bin/make/unit-tests/directive-for-escape.mk
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/unit-tests/directive-for.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index