--- a/absyntax_utils/type_initial_value.cc Mon Apr 03 22:06:40 2017 +0100
+++ b/absyntax_utils/type_initial_value.cc Mon Apr 03 22:18:22 2017 +0100
@@ -224,7 +224,7 @@
/* stage1_2 never creates an enumerated_value_list_c with no entries. If this occurs, then something must have changed! */
if (symbol->n <= 0) ERROR;
/* if no initial value explicitly given, then use the lowest value of the subrange */
- return (void *)symbol->elements[0];
+ return (void *)symbol->get_element(0);
}
/* enumerated_type_name '#' identifier */
// SYM_REF2(enumerated_value_c, type, value)