Feature #6670
Implement empty-argument preprocessor quirk
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
History
#1 Updated by Hynek Cihlar almost 4 years ago
Consider the following include (test.i):
&IF 0 EQ 0
&THEN
&IF 0 EQ 1
&THEN
message "1" {1}.
&ELSE
message "2" {1}.
&ENDIF
&ENDIF
message "5".
When the above is included as:
{test.i ""}
none of the branches will be included. Only the statement message "5". will be evaluated.
But when the above is included as:
{test.i "x"}
the branch message "2" {1}. will be included as expected.