Official D Grammar

Timon Gehr timon.gehr at gmx.ch
Sat Apr 20 13:56:29 PDT 2013


On 04/20/2013 08:36 PM, Walter Bright wrote:
> On 4/9/2013 3:20 AM, Bruno Medeiros wrote:
>> A bit more annoying is the case with the extern declaration, with the C++
>> parameter:
>>    extern(C++)
>> here you have to look at a special identifier (the C, D, PASCAL part)
>> and see if
>> there is a ++ token ahead, it's a bit more of special-casing in the
>> parser. Here
>> I think it would have been better to change the the language itself
>> and use
>> "CPP" instead of "C++". A minor simplification.
>
> I think the special case is worth it.
>

Without doubt.


More information about the Digitalmars-d mailing list