stage4/generate_c/generate_var_list.cc
changeset 158 eb8a5df69bb0
parent 157 3e12726f9d6b
child 160 59d58f5e6caa
equal deleted inserted replaced
157:3e12726f9d6b 158:eb8a5df69bb0
   408 /**********************/
   408 /**********************/
   409 /* B 1.5.3 - Programs */
   409 /* B 1.5.3 - Programs */
   410 /**********************/
   410 /**********************/
   411     void *visit(program_declaration_c *symbol) {
   411     void *visit(program_declaration_c *symbol) {
   412       if (current_declarationtype == variables_dt && configuration_defined) {
   412       if (current_declarationtype == variables_dt && configuration_defined) {
       
   413         symbol->program_type_name->accept(*this);
       
   414         s4o.print(";\n");
   413         symbol->var_declarations->accept(*this);
   415         symbol->var_declarations->accept(*this);
   414         symbol->function_block_body->accept(*this);
   416         symbol->function_block_body->accept(*this);
   415       }
   417       }
   416       return NULL;
   418       return NULL;
   417     }
   419     }