improved parsing for select case construct
added sema for select case construct