Lexer: Using switch statement in start state