2ede7aa75a
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.
10 lines
235 B
Plaintext
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
|