[comp.emacs] c++ mode switch statement

sane@cs.uiuc.edu (Aamod Sane) (10/03/90)

I want the c switch to look like

	switch( foo ) {
	    case bar:
	    case flp:
		if (xi) {
		    furbl;
		}
		break;
	    default:
        }

I tried several variable combinations in the existing variables,
but could not get the above done. Does someone have a fix for
this?

The closest I got to was 
	switch(){
	    case x:
	    if () {
	    }
	}
The if() does not get indented wrt. the case x:

This was with label-offset == 0.

Thanks,

Aamod Sane

-- 
sane@cs.uiuc.edu
         ==         / \  
-----    ==    *    \_/     -|||- 
         ==