fixed typo in generated VARIABLES.CSV
authoretisserant
Mon, 15 Dec 2008 17:23:22 +0100
changeset 158 eb8a5df69bb0
parent 157 3e12726f9d6b
child 159 1e4eb0d48385
fixed typo in generated VARIABLES.CSV
stage4/generate_c/generate_var_list.cc
--- a/stage4/generate_c/generate_var_list.cc	Fri Dec 12 17:52:44 2008 +0100
+++ b/stage4/generate_c/generate_var_list.cc	Mon Dec 15 17:23:22 2008 +0100
@@ -410,6 +410,8 @@
 /**********************/
     void *visit(program_declaration_c *symbol) {
       if (current_declarationtype == variables_dt && configuration_defined) {
+        symbol->program_type_name->accept(*this);
+        s4o.print(";\n");
         symbol->var_declarations->accept(*this);
         symbol->function_block_body->accept(*this);
       }