fix dangling if-else ambiguity
allow param_list and statement_seq to be empty