get Lexer ready for cup