ImportC is now scanning the #defines

Walter Bright newshound2 at digitalmars.com
Sat May 21 03:38:40 UTC 2022


Well, after this PR is pulled!

https://github.com/dlang/dmd/pull/14151

It's working with cpp, cl, and sppn.

Of course, the only pattern it currently detects is the simplest:

     #define XYZ 1

becomes:

     enum XYZ = 1;


More information about the Digitalmars-d mailing list