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
version_reported:
version_resolved:
History
#1 Updated by Hynek Cihlar almost 2 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.