Is the world coming to an end?

Walter Bright newshound2 at digitalmars.com
Sat Apr 2 18:09:30 PDT 2011


On 4/2/2011 5:34 PM, KennyTM~ wrote:
> On Apr 3, 11 07:52, Walter Bright wrote:
>> On 4/2/2011 3:58 PM, KennyTM~ wrote:
>>> 1. this message is specific to the dmd front-end. Other lexers might
>>> not show this message
>>
>> Appropriate and informative error messages are properly
>> quality-of-implementation issues. As the dmd source shows, doing this
>> message is trivial.
>>
>
> DMD recognizes the octal literal then rejects it later. Ideally the lexer should
> not accept 0\d{2,} at all.

That's for backwards compatibility.

> Yes. I mean Tango for D2 (if it will be finished?)

I hope that Tango for D2 will not have gratuitous incompatibilities.


More information about the Digitalmars-d mailing list