stage4/generate_iec/generate_iec.cc
changeset 453 4733f662362a
parent 350 2c3c4dc34979
child 459 01f6664bf8c5
equal deleted inserted replaced
452:79ac274d1cc4 453:4733f662362a
  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);