1*956e45f6SSimon J. Gerraty# $NetBSD: lint.mk,v 1.3 2020/09/15 16:22:04 rillig Exp $ 22c3632d1SSimon J. Gerraty# 32c3632d1SSimon J. Gerraty# Demonstrates stricter checks that are only enabled in the lint mode, 42c3632d1SSimon J. Gerraty# using the -dL option. 52c3632d1SSimon J. Gerraty 62c3632d1SSimon J. Gerraty# Ouch: as of 2020-08-03, make exits successfully even though the error 72c3632d1SSimon J. Gerraty# message has been issued as PARSE_FATAL. 82c3632d1SSimon J. Gerraty 92c3632d1SSimon J. Gerraty# Ouch: as of 2020-08-03, the variable is malformed and parsing stops 102c3632d1SSimon J. Gerraty# for a moment, but is continued after the wrongly-guessed end of the 112c3632d1SSimon J. Gerraty# variable, which echoes "y@:Q}". 122c3632d1SSimon J. Gerraty 13*956e45f6SSimon J. Gerraty.MAKEFLAGS: -dL 14*956e45f6SSimon J. Gerraty 152c3632d1SSimon J. Gerratyall: mod-loop-varname 162c3632d1SSimon J. Gerraty 172c3632d1SSimon J. Gerratymod-loop-varname: 182c3632d1SSimon J. Gerraty @echo ${VAR:Uvalue:@${:Ubar:S,b,v,}@x${var}y@:Q} 192c3632d1SSimon J. Gerraty @echo ${VAR:Uvalue:@!@x$!y@:Q} # surprisingly allowed 20