absyntax_utils/array_dimension_iterator.cc
changeset 562 044238931066
parent 377 60b012b7793f
child 596 4efb11e44065
equal deleted inserted replaced
561:30a327be60d4 562:044238931066
   100  * this function must be called once to get the object to
   100  * this function must be called once to get the object to
   101  * reference the first subrange...
   101  * reference the first subrange...
   102  *
   102  *
   103  * Returns the subrange symbol!
   103  * Returns the subrange symbol!
   104  */
   104  */
   105 symbol_c *array_dimension_iterator_c::next(void) {
   105 subrange_c *array_dimension_iterator_c::next(void) {
   106   void *res = array_specification->accept(*this);
   106   void *res = array_specification->accept(*this);
   107   if (res == NULL) 
   107   if (res == NULL) 
   108     return NULL;
   108     return NULL;
   109 
   109 
   110   return current_array_dimension;
   110   return current_array_dimension;