Accept use legacy in lexer