Add test case for if condition having parentheses
This commit is contained in:
parent
f3ecd63233
commit
6ea184f8c0
|
@ -86,3 +86,23 @@ endif()
|
||||||
(endif_command (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))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue