diff options
author | Ron Yorston <rmy@pobox.com> | 2022-11-16 14:25:16 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-11-16 14:25:16 +0000 |
commit | f3f72ac1d2a56b97c6e90aa359ad236f528b5294 (patch) | |
tree | ebca668d6a8a10d81803568410cb44c3ecf606b9 /libbb | |
parent | fa94c6da0d38929abbd40062448aaf2ba8d846f4 (diff) | |
download | busybox-w32-f3f72ac1d2a56b97c6e90aa359ad236f528b5294.tar.gz busybox-w32-f3f72ac1d2a56b97c6e90aa359ad236f528b5294.tar.bz2 busybox-w32-f3f72ac1d2a56b97c6e90aa359ad236f528b5294.zip |
make: show location of errors during build
Error messages only displayed the location of an error while the
makefile was being parsed.
Store the location (makefile name and line number) of each command
line. This allows location information to be displayed in errors
encountered while targets are being built.
Take this Makefile, for example:
target:
@echo $(hello
Previously this would display:
make: unterminated variable '$(hello'
Now it shows:
make: (Makefile:2): unterminated variable '$(hello'
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions