Should the comma operator be removed in D2?

Adam D. Ruppe destructionator at gmail.com
Mon Nov 16 15:24:50 PST 2009


On Mon, Nov 16, 2009 at 11:06:28PM +0000, Stewart Gordon wrote:
> Expression:
> 	AssignExpression
> 	AssignExpression , Expression
> 
> So it's the same as
> 
>     a = b;
>     c;

Right, moment of stupidity there for me. I should have put it in parenthesis.

> 
> Stewart.

-- 
Adam D. Ruppe
http://arsdnet.net



More information about the Digitalmars-d mailing list