Thread overview
ImportC is now scanning the #defines
May 21, 2022
Walter Bright
May 21, 2022
bauss
May 24, 2022
Walter Bright
May 20, 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;
May 21, 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.
May 24, 2022
It's been pulled now!

Now the major pieces of its functionality are all in place.

A big thanks to everyone who helped out with this, especially Iain!