Simplified lex state parse to use parseState() code