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:           Sun Mar 30 09:51:51 UTC 2025

Modified Files:
        src/usr.bin/make: parse.c
        src/usr.bin/make/unit-tests: Makefile archive.exp check-expect.lua
            cmdline-undefined.exp cond-cmp-numeric-eq.exp cond-cmp-numeric.exp
            cond-cmp-string.exp cond-cmp-unary.exp cond-eof.exp
            cond-func-defined.exp cond-func-empty.exp cond-func-make.exp
            cond-func.exp cond-late.exp cond-op-and-lint.exp cond-op-and.exp
            cond-op-not.exp cond-op-or-lint.exp cond-op-or.exp
            cond-op-parentheses.exp cond-op.exp cond-short.exp
            cond-token-number.exp cond-token-plain.exp cond-token-string.exp
            cond-token-var.exp cond-undef-lint.exp dep-colon-bug-cross-file.exp
            dep-duplicate.exp dep-op-missing.exp dep.exp deptgt-begin.exp
            deptgt-path-suffix.exp deptgt.exp directive-dinclude.exp
            directive-dinclude.mk directive-elif.exp directive-else.exp
            directive-endfor.exp directive-endif.exp directive-error.exp
            directive-export-gmake.exp directive-export.exp
            directive-for-break.exp directive-for-empty.exp
            directive-for-errors.exp directive-for-escape.exp
            directive-for-generating-endif.exp directive-for-if.exp
            directive-for-lines.exp directive-for-null.exp
            directive-for-null.mk directive-for.exp
            directive-hyphen-include.exp directive-hyphen-include.mk
            directive-if-nested.exp directive-if.exp directive-ifmake.exp
            directive-ifndef.exp directive-include-fatal.exp
            directive-include.exp directive-include.mk directive-info.exp
            directive-misspellings.exp directive-sinclude.exp
            directive-sinclude.mk directive-undef.exp
            directive-unexport-env.exp directive-unexport.exp
            directive-warning.exp directive.exp error.exp include-main.exp
            opt-debug-file.exp opt-debug-hash.exp opt-debug-lint.exp
            opt-debug-parse.exp opt-debug-var.exp opt-file.exp
            opt-warnings-as-errors.exp parse.exp recursive.exp
            var-eval-short.exp var-op-assign.exp var-op-expand.exp
            var-op-shell.exp var-recursive.exp var-scope-cmdline.exp
            vardebug.exp varmod-assign-shell.exp varmod-edge.exp
            varmod-gmtime.exp varmod-ifelse.exp varmod-indirect.exp
            varmod-localtime.exp varmod-loop-delete.exp varmod-loop-varname.exp
            varmod-match-escape.exp varmod-match.exp varmod-mtime.exp
            varmod-order.exp varmod-range.exp varmod-shell.exp
            varmod-sun-shell.exp varmod-sysv.exp varmod-to-abs.exp
            varmod-to-separator.exp varmod.exp varname-dollar.exp
            varname-dot-makeflags.exp varname-dot-newline.exp
            varname-dot-parsedir.exp varname-dot-parsefile.exp varname.exp
            varparse-dynamic.exp varparse-errors.exp varparse-errors.mk

Log Message:
make: use '"filename" line 123' for locations instead of 'filename:123'

The format 'filename:123' is commonly used for identifying a location in
a file. Text editors recognize it and allow quick navigation through it.
The previous format was specific to make and would have required custom
support in editors.

The new format was already used in stack traces, except for the first
line. Now all lines use the same format.


To generate a diff of this commit:
cvs rdiff -u -r1.739 -r1.740 src/usr.bin/make/parse.c
cvs rdiff -u -r1.355 -r1.356 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/make/unit-tests/archive.exp \
    src/usr.bin/make/unit-tests/cond-func-empty.exp \
    src/usr.bin/make/unit-tests/cond-late.exp \
    src/usr.bin/make/unit-tests/cond-token-number.exp \
    src/usr.bin/make/unit-tests/cond-undef-lint.exp \
    src/usr.bin/make/unit-tests/directive-info.exp \
    src/usr.bin/make/unit-tests/var-op-shell.exp \
    src/usr.bin/make/unit-tests/varmod-shell.exp
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/make/unit-tests/check-expect.lua \
    src/usr.bin/make/unit-tests/cond-cmp-numeric.exp \
    src/usr.bin/make/unit-tests/cond-func-defined.exp \
    src/usr.bin/make/unit-tests/varmod-assign-shell.exp
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/cmdline-undefined.exp \
    src/usr.bin/make/unit-tests/cond-func-make.exp \
    src/usr.bin/make/unit-tests/dep-colon-bug-cross-file.exp \
    src/usr.bin/make/unit-tests/dep-op-missing.exp \
    src/usr.bin/make/unit-tests/dep.exp \
    src/usr.bin/make/unit-tests/deptgt-path-suffix.exp \
    src/usr.bin/make/unit-tests/directive-dinclude.mk \
    src/usr.bin/make/unit-tests/directive-hyphen-include.mk \
    src/usr.bin/make/unit-tests/directive-misspellings.exp \
    src/usr.bin/make/unit-tests/var-scope-cmdline.exp \
    src/usr.bin/make/unit-tests/varname-dollar.exp
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/cond-cmp-numeric-eq.exp \
    src/usr.bin/make/unit-tests/cond-eof.exp \
    src/usr.bin/make/unit-tests/directive-endif.exp \
    src/usr.bin/make/unit-tests/directive-ifndef.exp \
    src/usr.bin/make/unit-tests/directive-include-fatal.exp \
    src/usr.bin/make/unit-tests/opt-warnings-as-errors.exp \
    src/usr.bin/make/unit-tests/varname-dot-parsedir.exp
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/make/unit-tests/cond-cmp-string.exp \
    src/usr.bin/make/unit-tests/cond-op.exp \
    src/usr.bin/make/unit-tests/cond-short.exp \
    src/usr.bin/make/unit-tests/directive-undef.exp \
    src/usr.bin/make/unit-tests/directive-unexport-env.exp \
    src/usr.bin/make/unit-tests/include-main.exp \
    src/usr.bin/make/unit-tests/var-recursive.exp
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/cond-cmp-unary.exp \
    src/usr.bin/make/unit-tests/dep-duplicate.exp \
    src/usr.bin/make/unit-tests/deptgt-begin.exp \
    src/usr.bin/make/unit-tests/directive-error.exp \
    src/usr.bin/make/unit-tests/directive-for-empty.exp \
    src/usr.bin/make/unit-tests/directive-for-lines.exp \
    src/usr.bin/make/unit-tests/directive-for-null.mk \
    src/usr.bin/make/unit-tests/error.exp
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/make/unit-tests/cond-func.exp \
    src/usr.bin/make/unit-tests/var-op-expand.exp \
    src/usr.bin/make/unit-tests/varmod-loop-varname.exp \
    src/usr.bin/make/unit-tests/varmod-mtime.exp
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/cond-op-and-lint.exp \
    src/usr.bin/make/unit-tests/cond-op-or-lint.exp \
    src/usr.bin/make/unit-tests/directive-endfor.exp
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/cond-op-and.exp \
    src/usr.bin/make/unit-tests/cond-op-not.exp \
    src/usr.bin/make/unit-tests/cond-token-var.exp \
    src/usr.bin/make/unit-tests/directive-else.exp \
    src/usr.bin/make/unit-tests/directive-export-gmake.exp \
    src/usr.bin/make/unit-tests/directive-unexport.exp \
    src/usr.bin/make/unit-tests/directive-warning.exp \
    src/usr.bin/make/unit-tests/opt-debug-hash.exp \
    src/usr.bin/make/unit-tests/parse.exp \
    src/usr.bin/make/unit-tests/varmod-sun-shell.exp \
    src/usr.bin/make/unit-tests/varname-dot-makeflags.exp \
    src/usr.bin/make/unit-tests/varname-dot-newline.exp
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/cond-op-or.exp \
    src/usr.bin/make/unit-tests/cond-op-parentheses.exp \
    src/usr.bin/make/unit-tests/directive-elif.exp \
    src/usr.bin/make/unit-tests/directive-export.exp \
    src/usr.bin/make/unit-tests/directive-ifmake.exp \
    src/usr.bin/make/unit-tests/opt-debug-file.exp \
    src/usr.bin/make/unit-tests/var-op-assign.exp \
    src/usr.bin/make/unit-tests/varmod-loop-delete.exp
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/make/unit-tests/cond-token-plain.exp \
    src/usr.bin/make/unit-tests/varmod.exp
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/make/unit-tests/cond-token-string.exp \
    src/usr.bin/make/unit-tests/directive-include.mk \
    src/usr.bin/make/unit-tests/varmod-order.exp \
    src/usr.bin/make/unit-tests/varmod-sysv.exp
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/make/unit-tests/deptgt.exp
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/directive-dinclude.exp \
    src/usr.bin/make/unit-tests/directive-for-break.exp \
    src/usr.bin/make/unit-tests/directive-for-generating-endif.exp \
    src/usr.bin/make/unit-tests/directive-for-if.exp \
    src/usr.bin/make/unit-tests/directive-for-null.exp \
    src/usr.bin/make/unit-tests/directive-hyphen-include.exp \
    src/usr.bin/make/unit-tests/directive-sinclude.exp \
    src/usr.bin/make/unit-tests/directive-sinclude.mk \
    src/usr.bin/make/unit-tests/opt-debug-var.exp \
    src/usr.bin/make/unit-tests/recursive.exp \
    src/usr.bin/make/unit-tests/varmod-to-abs.exp \
    src/usr.bin/make/unit-tests/varname-dot-parsefile.exp \
    src/usr.bin/make/unit-tests/varparse-dynamic.exp
cvs rdiff -u -r1.10 -r1.11 \
    src/usr.bin/make/unit-tests/directive-for-errors.exp \
    src/usr.bin/make/unit-tests/directive.exp \
    src/usr.bin/make/unit-tests/opt-file.exp
cvs rdiff -u -r1.32 -r1.33 \
    src/usr.bin/make/unit-tests/directive-for-escape.exp \
    src/usr.bin/make/unit-tests/varmod-edge.exp
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/make/unit-tests/directive-for.exp \
    src/usr.bin/make/unit-tests/varmod-ifelse.exp
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/directive-if-nested.exp
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/make/unit-tests/directive-if.exp \
    src/usr.bin/make/unit-tests/opt-debug-parse.exp
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/make/unit-tests/directive-include.exp
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/make/unit-tests/opt-debug-lint.exp \
    src/usr.bin/make/unit-tests/varmod-match.exp \
    src/usr.bin/make/unit-tests/varname.exp
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/make/unit-tests/var-eval-short.exp
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/make/unit-tests/vardebug.exp
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/make/unit-tests/varmod-gmtime.exp \
    src/usr.bin/make/unit-tests/varparse-errors.mk
cvs rdiff -u -r1.34 -r1.35 src/usr.bin/make/unit-tests/varmod-indirect.exp
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/make/unit-tests/varmod-localtime.exp \
    src/usr.bin/make/unit-tests/varmod-to-separator.exp
cvs rdiff -u -r1.26 -r1.27 \
    src/usr.bin/make/unit-tests/varmod-match-escape.exp
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/make/unit-tests/varmod-range.exp \
    src/usr.bin/make/unit-tests/varparse-errors.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