diff -r aad38592bdde -r c0bda77b37a0 absyntax_utils/array_dimension_iterator.hh --- a/absyntax_utils/array_dimension_iterator.hh Tue Aug 14 19:40:01 2012 +0200 +++ b/absyntax_utils/array_dimension_iterator.hh Wed Aug 22 16:46:17 2012 +0200 @@ -54,7 +54,7 @@ /* a pointer to the array_specification_c currently being analyzed */ symbol_c *array_specification; /* used when called to iterate() for a parameter */ - symbol_c *current_array_dimension; + subrange_c *current_array_dimension; private: void* iterate_list(list_c *list); @@ -64,7 +64,7 @@ void reset(void); /* initialize the iterator object. - * We must be given a reference to a case_list_c that will be analyzed... + * We must be given a reference to a array_specification_c that will be analyzed... */ array_dimension_iterator_c(symbol_c *symbol); @@ -75,7 +75,8 @@ * * Returns the subrange symbol! */ - symbol_c *next(void); + subrange_c *next(void); + private: