lint.mk revision 1.2
11.2Srillig# $NetBSD: lint.mk,v 1.2 2020/08/08 13:00:07 rillig Exp $ 21.2Srillig# 31.2Srillig# Demonstrates stricter checks that are only enabled in the lint mode, 41.2Srillig# using the -dL option. 51.2Srillig 61.2Srillig# Ouch: as of 2020-08-03, make exits successfully even though the error 71.2Srillig# message has been issued as PARSE_FATAL. 81.2Srillig 91.2Srillig# Ouch: as of 2020-08-03, the variable is malformed and parsing stops 101.2Srillig# for a moment, but is continued after the wrongly-guessed end of the 111.2Srillig# variable, which echoes "y@:Q}". 121.2Srillig 131.2Srilligall: mod-loop-varname 141.2Srillig 151.2Srilligmod-loop-varname: 161.2Srillig @echo ${VAR:Uvalue:@${:Ubar:S,b,v,}@x${var}y@:Q} 171.2Srillig @echo ${VAR:Uvalue:@!@x$!y@:Q} # surprisingly allowed 18