Octal literals: who uses this?

BCS none at anon.com
Sat Mar 14 11:42:12 PDT 2009


Hello Stewart,

> Walter Bright wrote:
> <snip>
>> The octal literals are done the way C does them. The reason they are
>> there are for when translating C code to D code, obscure bugs are not
>> introduced.
>> 
> How would making them illegal not achieve this aim?
> 
> Stewart.
> 

Unless you also drop \0 then any octal literal starting in 0 will get incorrectly 
lexed.





More information about the Digitalmars-d mailing list