equal
deleted
inserted
replaced
1667 |
1667 |
1668 /* | simple_instr_list il_simple_instruction */ |
1668 /* | simple_instr_list il_simple_instruction */ |
1669 void *visit(simple_instr_list_c *symbol) { |
1669 void *visit(simple_instr_list_c *symbol) { |
1670 return print_list(symbol, s4o.indent_spaces, "\n" + s4o.indent_spaces, "\n"); |
1670 return print_list(symbol, s4o.indent_spaces, "\n" + s4o.indent_spaces, "\n"); |
1671 } |
1671 } |
|
1672 |
|
1673 |
|
1674 /* il_simple_instruction: |
|
1675 * il_simple_operation eol_list |
|
1676 * | il_expression eol_list |
|
1677 * | il_formal_funct_call eol_list |
|
1678 */ |
|
1679 void *visit(il_simple_instruction_c *symbol) { |
|
1680 return symbol->il_simple_instruction->accept(*this); |
|
1681 } |
|
1682 |
1672 |
1683 |
1673 /* | il_initial_param_list il_param_instruction */ |
1684 /* | il_initial_param_list il_param_instruction */ |
1674 void *visit(il_param_list_c *symbol) { |
1685 void *visit(il_param_list_c *symbol) { |
1675 // return print_list(symbol); |
1686 // return print_list(symbol); |
1676 return print_list(symbol, s4o.indent_spaces, ",\n" + s4o.indent_spaces, "\n" + s4o.indent_spaces); |
1687 return print_list(symbol, s4o.indent_spaces, ",\n" + s4o.indent_spaces, "\n" + s4o.indent_spaces); |