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:           Thu Feb  4 21:42:47 UTC 2021

Modified Files:
        src/usr.bin/make: arch.c compat.c make.1 make.c make.h parse.c suff.c
            targ.c var.c
        src/usr.bin/make/unit-tests: envfirst.mk vardebug.mk varmisc.mk
            varmod-loop.mk varname-dot-shell.mk varparse-dynamic.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.195 -r1.196 src/usr.bin/make/arch.c
cvs rdiff -u -r1.222 -r1.223 src/usr.bin/make/compat.c
cvs rdiff -u -r1.295 -r1.296 src/usr.bin/make/make.1
cvs rdiff -u -r1.240 -r1.241 src/usr.bin/make/make.c
cvs rdiff -u -r1.252 -r1.253 src/usr.bin/make/make.h
cvs rdiff -u -r1.545 -r1.546 src/usr.bin/make/parse.c
cvs rdiff -u -r1.343 -r1.344 src/usr.bin/make/suff.c
cvs rdiff -u -r1.164 -r1.165 src/usr.bin/make/targ.c
cvs rdiff -u -r1.801 -r1.802 src/usr.bin/make/var.c
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/envfirst.mk
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/vardebug.mk \
    src/usr.bin/make/unit-tests/varname-dot-shell.mk
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/make/unit-tests/varmisc.mk
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/varmod-loop.mk
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/varparse-dynamic.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