add generate_statement_list in generate.c