preprocessor pass equivalent?

Jacob Carlborg doob at me.com
Thu Mar 15 03:09:25 PDT 2012


On 2012-03-15 11:04, Jacob Carlborg wrote:
> On 2012-03-15 09:35, Jay Norwood wrote:
>> Is there some option, similar to -E gcc option, that would generate the
>> analogous listing for D? What I mean is that I'd like to see all the
>> code in version blocks gone, all the mixin strings expanded.
>>
>> It is probably too much to wish for having the infered auto's expanded...
>>
>
> The Eclipse plugin, Descent, has a view that does something like this.
> Although I don't know how well it works for D2.
>

It expands mixins, string mixins, replaces scope statements with 
try/catch/finally and other things. It also has a compile time debugger.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list