diff options
Diffstat (limited to 'unit-tests/cond-func-defined.mk')
-rw-r--r-- | unit-tests/cond-func-defined.mk | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/unit-tests/cond-func-defined.mk b/unit-tests/cond-func-defined.mk index dce1399183aa..ec4feae05839 100644 --- a/unit-tests/cond-func-defined.mk +++ b/unit-tests/cond-func-defined.mk @@ -1,4 +1,4 @@ -# $NetBSD: cond-func-defined.mk,v 1.3 2020/08/20 17:23:43 rillig Exp $ +# $NetBSD: cond-func-defined.mk,v 1.5 2020/10/24 08:46:08 rillig Exp $ # # Tests for the defined() function in .if conditions. @@ -6,27 +6,27 @@ DEF= defined ${:UA B}= variable name with spaces .if !defined(DEF) -.error +. error .endif -# Horizontal whitespace after the opening parenthesis is ignored. +# Horizontal whitespace (space tab) after the opening parenthesis is ignored. .if !defined( DEF) -.error +. error .endif -# Horizontal whitespace before the closing parenthesis is ignored. +# Horizontal whitespace (space tab) before the closing parenthesis is ignored. .if !defined(DEF ) -.error +. error .endif # The argument of a function must not directly contain whitespace. .if !defined(A B) -.error +. error .endif # If necessary, the whitespace can be generated by a variable expression. .if !defined(${:UA B}) -.error +. error .endif all: |