| @@ -1,10 +1,11 @@ | | | @@ -1,10 +1,11 @@ |
1 | # $NetBSD: directive-error.mk,v 1.3 2020/12/13 01:07:54 rillig Exp $ | | 1 | # $NetBSD: directive-error.mk,v 1.4 2021/01/26 23:51:20 rillig Exp $ |
2 | # | | 2 | # |
3 | # Tests for the .error directive, which prints an error message and exits | | 3 | # Tests for the .error directive, which prints an error message and exits |
4 | # immediately, unlike other "fatal" parse errors, which continue to parse | | 4 | # immediately, unlike other "fatal" parse errors, which continue to parse |
5 | # until the end of the current top-level makefile. | | 5 | # until the end of the current top-level makefile. |
6 | | | 6 | |
7 | # TODO: Implementation | | 7 | # TODO: Implementation |
8 | | | 8 | |
9 | all: | | 9 | # FIXME: The "parsing warnings being treated as errors" is irrelevant. |
10 | @:; | | 10 | .MAKEFLAGS: -W |
| | | 11 | .error message |