directive-misspellings.mk revision 1.3
11.3Srillig# $NetBSD: directive-misspellings.mk,v 1.3 2020/12/13 01:10:22 rillig Exp $
21.1Srillig#
31.1Srillig# Tests for misspelled directives.
41.1Srillig#
51.1Srillig# Before 2020-12-12, make didn't catch most of these misspellings.  For
61.1Srillig# example, the directive ".exporting" was interpreted as if it were spelled
71.1Srillig# ".export ing", which would export the variable named "ing" if that existed.
81.1Srillig# Another misspelling, as improbable as the others, was that both ".infos" and
91.1Srillig# ".information" were aliases to ".info" since the code for these diagnostic
101.1Srillig# directives just skipped any letters following the "error", "warn" or "info".
111.1Srillig
121.1Srillig.dinclud "file"
131.1Srillig.dinclude "file"
141.1Srillig.dincludx "file"
151.1Srillig.dincludes "file"		# XXX: the 's' is not meant to be a filename
161.1Srillig
171.1Srillig.erro msg
181.1Srillig.errox msg
191.1Srillig# no .error since that would exit immediately
201.1Srillig# no .errors since that would exit immediately, even with the typo
211.1Srillig
221.1Srillig.expor varname
231.1Srillig.export varname
241.1Srillig.exporx varname
251.3Srillig.exports varname		# Accepted before 2020-12-13 01:07:54.
261.1Srillig
271.3Srillig.export-en			# Accepted before 2020-12-13 01:07:54.
281.1Srillig.export-env
291.1Srillig.export-env extra argument	# XXX: undetected extra argument
301.3Srillig.export-environment		# Accepted before 2020-12-13 01:07:54.
311.1Srillig
321.3Srillig.export-litera varname		# Accepted before 2020-12-13 01:07:54.
331.2Srillig.export-literal varname
341.3Srillig.export-literax varname		# Accepted before 2020-12-13 01:07:54.
351.3Srillig.export-literally varname	# Accepted before 2020-12-13 01:07:54.
361.1Srillig
371.1Srillig.-includ "file"
381.1Srillig.-include "file"
391.1Srillig.-includx "file"
401.1Srillig.-includes "file"		# XXX: the 's' is not meant to be a filename
411.1Srillig
421.2Srillig.includ "file"
431.1Srillig.include "file"
441.1Srillig.includx "file"
451.1Srillig.includex "file"		# XXX: the 's' is not meant to be a filename
461.1Srillig
471.1Srillig.inf msg
481.1Srillig.info msg
491.1Srillig.infx msg
501.3Srillig.infos msg			# Accepted before 2020-12-13 01:07:54.
511.1Srillig
521.1Srillig.sinclud "file"
531.1Srillig.sinclude "file"
541.1Srillig.sincludx "file"
551.1Srillig.sincludes "file"		# XXX: the 's' is not meant to be a filename
561.1Srillig
571.1Srillig.unde varname
581.1Srillig.undef varname
591.1Srillig.undex varname
601.3Srillig.undefs varname			# Accepted before 2020-12-13 01:07:54.
611.1Srillig
621.1Srillig.unexpor varname
631.1Srillig.unexport varname
641.1Srillig.unexporx varname
651.1Srillig.unexports varname		# Accepted before 2020-12-12 18:00:18.
661.1Srillig
671.1Srillig.unexport-en			# Accepted before 2020-12-12 18:11:42.
681.1Srillig.unexport-env
691.1Srillig.unexport-env extra argument	# Accepted before 2020-12-12 18:00:18.
701.1Srillig.unexport-enx			# Accepted before 2020-12-12 18:00:18.
711.1Srillig.unexport-envs			# Accepted before 2020-12-12 18:00:18.
721.1Srillig
731.1Srillig.warn msg
741.1Srillig.warnin msg
751.1Srillig.warning msg
761.1Srillig.warninx msg
771.3Srillig.warnings msg			# Accepted before 2020-12-13 01:07:54.
781.1Srillig
791.1Srilligall:
80