Remove pointless switch from string lexer