Re: [psas-avionics] code question...

2009-04-11 Thread Barton C Massey
In message 49df660f.1060...@ytivarg.com you wrote: Barton C Massey wrote: It's a less-than-good feature of C. Case labels are labels, and thus must label a statement. For what it's worth, in object-oriented land (I mainly do Java these days) case statements are also (supposed to be)

Re: [psas-avionics] code question...

2009-04-09 Thread Barton C Massey
In message 8f5d905c0904091948y526182edm16cb2bf4d5a42...@mail.gmail.com you wrote: It turns out wrapping that last case in curly-braces makes everything happy and compileable... Not that this is comfortable... It's a less-than-good feature of C. Case labels are labels, and thus must label a