Inside the switch statement

Saaa empty at needmail.com
Tue Jun 9 11:50:43 PDT 2009


>>> What's wrong with that?
>>
>> Doesn't support B :)
>>
>> How about a warning instead?
>
> The idea is that it not supporting B is something good.
I know this is your idea, but as BCS doesn't support this idea.
You should have replied to him iso grauzone.

I personally never had any problems with falling through.
The IDE  ( descent :) indents it nicely.


> An error is ok, and if you want to translate C code then it's really easy 
> to change the code to not give errors.

I don't think you will get that, thus maybe a warning is better than 
nothing?




More information about the Digitalmars-d-learn mailing list