NetBSD/usr.bin/make/unit-tests/cmd-errors.exp
rillig 2ede7aa75a make: improve error message for unknown modifier
Back in 1995, the modifiers were all single-character, and it made sense
to print only the first character.  Nowadays, with ':S', ':@var@...@',
'::=' and several others, a little more context is useful to see where
the exact error is.  The actual modifier is still guessed, and the guess
may be wrong as soon as backslashes get involved, but it is still better
than before.
2021-02-23 15:19:41 +00:00

10 lines
235 B
Plaintext

: undefined eol
make: Unclosed variable "UNCLOSED"
: unclosed-variable
make: Unclosed variable expression (expecting '}') for "UNCLOSED"
: unclosed-modifier
make: Unknown modifier "Z"
: unknown-modifier eol
: end eol
exit status 0