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:   sjg
Date:           Fri Sep  2 16:24:31 UTC 2022

Modified Files:
        src/usr.bin/make: cond.c for.c make.1 make.h parse.c
        src/usr.bin/make/unit-tests: Makefile
Added Files:
        src/usr.bin/make/unit-tests: directive-for-break.exp
            directive-for-break.mk

Log Message:
make: add .break to terminate .for loop early

When .break is encountered within a .for loop
it causes immediate termination.

Outside of a .for loop .break causes a parse error.

Reviewed by: christos


To generate a diff of this commit:
cvs rdiff -u -r1.334 -r1.335 src/usr.bin/make/cond.c
cvs rdiff -u -r1.168 -r1.169 src/usr.bin/make/for.c
cvs rdiff -u -r1.330 -r1.331 src/usr.bin/make/make.1
cvs rdiff -u -r1.303 -r1.304 src/usr.bin/make/make.h
cvs rdiff -u -r1.681 -r1.682 src/usr.bin/make/parse.c
cvs rdiff -u -r1.321 -r1.322 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/directive-for-break.exp \
    src/usr.bin/make/unit-tests/directive-for-break.mk

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