UP grammar for 'switch' body of function or common condition