https://issues.dlang.org/show_bug.cgi?id=12887

          Issue ID: 12887
           Summary: Allow for more than one version specification for the
                    version statement
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: [email protected]
          Reporter: [email protected]

Currently:

version(IncludeTwo)
{
   version = IncludeOne;
   version = IncludeOther;
}

version(IncludeTwo)
{
... code for any of both versions
}

With a little syntactic sugar this could be:

version(IncludeOne, IncludeOther) // any, 
{
...code for any of both versions
}

--

Reply via email to