1 # $NetBSD: cond-token-number.mk,v 1.3 2020/09/14 06:22:59 rillig Exp $
3 # Tests for number tokens in .if conditions.
9 # Even though -0 is a number and would be accepted by strtod, it is not
10 # accepted by the condition parser.
12 # See the ch_isdigit call in CondParser_String.
17 # Even though +0 is a number and would be accepted by strtod, it is not
18 # accepted by the condition parser.
20 # See the ch_isdigit call in CondParser_String.
25 # Even though -1 is a number and would be accepted by strtod, it is not
26 # accepted by the condition parser.
28 # See the ch_isdigit call in CondParser_String.
33 # Even though +1 is a number and would be accepted by strtod, it is not
34 # accepted by the condition parser.
36 # See the ch_isdigit call in CondParser_String.
41 # When the number comes from a variable expression though, it may be signed.
42 # XXX: This is inconsistent.
47 # When the number comes from a variable expression though, it may be signed.
48 # XXX: This is inconsistent.
53 # Ensure that parsing continues until here.
54 .info End of the tests.