On 31/10/2015 12:01 AM, Jacob Carlborg wrote:
On 2015-10-30 03:01, Walter Bright wrote:
I might add that over time, I'd been removing #if's and #ifdef's from
the dmd front end source code. The results were very satisfactory - the
code was easier to read, understand and maintain. It also made running
magicport on the code practical.
The DMD source code contained #ifdef's inside expressions, which is
quite a difference compared to "or" and "and" in "static if".
Yes, this was the major problem with converting the #ifdefs, not
conditions ||ed together. If D allowed oring versions together then
version would have been a lot more useful in DDMD.