ImportC is now scanning the #defines

bauss jj_1337 at live.dk
Sat May 21 19:31:40 UTC 2022


On Saturday, 21 May 2022 at 03:38:40 UTC, Walter Bright wrote:
> 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;

Very nice, thank you Walter for all the work on importC.


More information about the Digitalmars-d mailing list