List of reserved words

Simen Kjaeraas simen.kjaras at gmail.com
Thu Oct 11 06:02:41 PDT 2012


On 2012-10-11, 14:44, monarch_dodra wrote:

> On Thursday, 11 October 2012 at 13:07:28 UTC, monarch_dodra wrote:
>> On Thursday, 11 October 2012 at 11:44:36 UTC, Jacob Carlborg wrote:
>>> On 2012-10-11 13:00, Iain Buclaw wrote:
>>>
>>>
>>> Right, any others hiding somewhere else?
>>
>> __ctfe
>>
>> Although I should file that as a bug I guess:
>>
>> //----
>> void main()
>> {
>>     bool __ctfe = true;
>> }
>> //----
>> Internal error: ..\ztc\cgcs.c 522
>> //----
>
> Never mind, "Identifiers starting with __ (two underscores) are reserved"

Still, it shouldn't exactly crash the compiler.

-- 
Simen


More information about the Digitalmars-d mailing list