stage3/fill_candidate_datatypes.cc
changeset 935 be4373d07201
parent 933 76324f461aed
child 936 0f7bcc160568
equal deleted inserted replaced
934:2a42a68f4b59 935:be4373d07201
  1897     /* Determine whether the datatype is a ref_spec_c, as this is the class used as the    */
  1897     /* Determine whether the datatype is a ref_spec_c, as this is the class used as the    */
  1898     /* canonical/base datatype of REF_TO types (see search_base_type_c ...)                */ 
  1898     /* canonical/base datatype of REF_TO types (see search_base_type_c ...)                */ 
  1899     ref_spec_c *ref_spec = dynamic_cast<ref_spec_c *>(symbol->exp->candidate_datatypes[i]);
  1899     ref_spec_c *ref_spec = dynamic_cast<ref_spec_c *>(symbol->exp->candidate_datatypes[i]);
  1900     
  1900     
  1901     if (NULL != ref_spec)
  1901     if (NULL != ref_spec)
  1902       add_datatype_to_candidate_list(symbol, ref_spec->type_name);
  1902       add_datatype_to_candidate_list(symbol, search_base_type_c::get_basetype_decl(ref_spec->type_name));
  1903   }
  1903   }
  1904   
  1904   
  1905   return NULL;
  1905   return NULL;
  1906 }
  1906 }
  1907 
  1907