[sr-dev] syntax error in switch statement