Add test case for if condition having parentheses

This commit is contained in:
Uy Ha 2021-07-02 09:26:41 +02:00
parent f3ecd63233
commit 6ea184f8c0

View file

@ -86,3 +86,23 @@ endif()
(endif_command (endif))
)
)
======================================
Condition with parentheses [condition]
======================================
if((A AND B) OR C)
endif()
---
(source_file
(if_condition
(if_command
(if)
(argument (unquoted_argument))
(argument (unquoted_argument))
(argument (unquoted_argument))
(argument (unquoted_argument))
(argument (unquoted_argument))
)
(endif_command (endif))
)
)