directive-warning.mk revision 1.6 1 # $NetBSD: directive-warning.mk,v 1.6 2020/12/19 22:33:11 rillig Exp $
2 #
3 # Tests for the .warning directive.
4 #
5 # Until parse.c 1.502 from 2020-12-19, a missing argument to the directive
6 # produced the wrong error message "Unknown directive". Since parse.c 1.503
7 # from 2020-12-19, the correct "Missing argument" is produced.
8
9 # TODO: Implementation
10
11 .warn # misspelled
12 .warn message # misspelled
13 .warnin # misspelled
14 .warnin message # misspelled
15 .warning # "Missing argument"
16 .warning message # ok
17 .warnings # misspelled
18 .warnings messages # Accepted before 2020-12-13 01:07:54.
19
20 all:
21 @:;
22