finish the gencode of listcomp