Official D Grammar
Walter Bright
newshound2 at digitalmars.com
Sat Apr 20 11:36:02 PDT 2013
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.
More information about the Digitalmars-d
mailing list