Dump mixins (preprocessed/generated) code
Dicebot via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jul 18 07:39:34 PDT 2014
On Friday, 18 July 2014 at 14:25:57 UTC, Domingo Alvarez Duarte
wrote:
> Thanks for all you answers, I think I found the problem.
>
> The constant __FUNCTION__ was not a compiler reserved word at
> the time MiniD/Croc was created and it was introduced later on
> dmd2, it was clashing with it.
>
> I renamed it to __MFUNCTUION__ and it compiles now, I'm getting
> more errors of other kinds and trying to fix then.
>
> I plan to fork https://github.com/JarrettBillingsley/Croc and
> make it available.
>
> Cheers !
In general all identifiers starting with __ (double underscore)
are considered reserved by compiler / standard library and should
never be used anywhere else.
More information about the Digitalmars-d-learn
mailing list