1 # $NetBSD: cond-op-parentheses.mk,v 1.4 2021/01/19 17:49:13 rillig Exp $
3 # Tests for parentheses in .if conditions.
7 # Test for deeply nested conditions.
8 .if (((((((((((((((((((((((((((((((((((((((((((((((((((((((( \
9 (((((((((((((((((((((((((((((((((((((((((((((((((((((((( \
11 )))))))))))))))))))))))))))))))))))))))))))))))))))))))) \
12 ))))))))))))))))))))))))))))))))))))))))))))))))))))))))
13 . info Parentheses can be nested at least to depth 112.
18 # An unbalanced opening parenthesis is a parse error.
25 # An unbalanced closing parenthesis is a parse error.
27 # As of 2021-01-19, CondParser_Term returned TOK_RPAREN even though this
28 # function promised to only ever return TOK_TRUE, TOK_FALSE or TOK_ERROR.