1 # $NetBSD: lint.mk,v 1.3 2020/09/15 16:22:04 rillig Exp $
3 # Demonstrates stricter checks that are only enabled in the lint mode,
4 # using the -dL option.
6 # Ouch: as of 2020-08-03, make exits successfully even though the error
7 # message has been issued as PARSE_FATAL.
9 # Ouch: as of 2020-08-03, the variable is malformed and parsing stops
10 # for a moment, but is continued after the wrongly-guessed end of the
11 # variable, which echoes "y@:Q}".
18 @echo ${VAR:Uvalue:@${:Ubar:S,b,v,}@x${var}y@:Q}
19 @echo ${VAR:Uvalue:@!@x$!y@:Q} # surprisingly allowed