--- a/stage4/generate_c/generate_var_list.cc Wed Aug 22 16:46:17 2012 +0200
+++ b/stage4/generate_c/generate_var_list.cc Sat Sep 01 16:27:24 2012 +0200
@@ -346,7 +346,7 @@
break;
}
}
-
+
void print_var_number(void) {
char str[10];
sprintf(str, "%d", current_var_number);
@@ -554,6 +554,12 @@
return NULL;
}
+ /* enumerated_value_list ',' enumerated_value */
+ void *visit(enumerated_value_list_c *symbol) {
+ this->current_var_type_name->accept(*this);
+ return NULL;
+ }
+
/* fb_name_list ':' function_block_type_name ASSIGN structure_initialization */
/* structure_initialization -> may be NULL ! */
void *visit(fb_name_decl_c *symbol) {