--- a/absyntax_utils/array_dimension_iterator.cc Wed May 16 00:15:32 2012 +0200
+++ b/absyntax_utils/array_dimension_iterator.cc Mon Jun 04 18:22:11 2012 +0100
@@ -102,7 +102,7 @@
*
* Returns the subrange symbol!
*/
-symbol_c *array_dimension_iterator_c::next(void) {
+subrange_c *array_dimension_iterator_c::next(void) {
void *res = array_specification->accept(*this);
if (res == NULL)
return NULL;
--- a/absyntax_utils/array_dimension_iterator.hh Wed May 16 00:15:32 2012 +0200
+++ b/absyntax_utils/array_dimension_iterator.hh Mon Jun 04 18:22:11 2012 +0100
@@ -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: