No more fall through in case statement?

Matti Niemenmaa see_signature at for.real.address
Fri Jan 4 01:09:07 PST 2008


Dan Lewis wrote:
> I also like the comma notation; it would probably terse up the giant lexer
> switch a bit.

case a, b, c:

is already valid D.

http://www.digitalmars.com/d/1.0/statement.html#SwitchStatement

-- 
E-mail address: matti.niemenmaa+news, domain is iki (DOT) fi



More information about the Digitalmars-d mailing list