On 2013-03-01 07:12, Dmitry Olshansky wrote:

A 0 or a 0x1A is the end of valid D source. Period.

So I thought.

Well, I can't see the difference between 2 sentinel values: both 0 and
0x1A has to both work. For me that means both values have to be accepted
as sentinels I'd call that a tuple of sentinels.

I think I understand how Walter things here. The D code always ends with '0' or '0x1A'. Regardless of what the end character is, DMD will always add an '0' to the end.

But you do need to check for both 0 and 0x1A.

--
/Jacob Carlborg

Reply via email to