Fix bug: add support for dereferencing of REF_TO to REF_TO xxx (e.g.: bool_var := ref_to_ref_to_bool^^;)
--- a/stage3/fill_candidate_datatypes.cc Sun Sep 28 17:39:28 2014 +0100
+++ b/stage3/fill_candidate_datatypes.cc Sun Sep 28 17:48:42 2014 +0100
@@ -1899,7 +1899,7 @@
ref_spec_c *ref_spec = dynamic_cast<ref_spec_c *>(symbol->exp->candidate_datatypes[i]);
if (NULL != ref_spec)
- add_datatype_to_candidate_list(symbol, ref_spec->type_name);
+ add_datatype_to_candidate_list(symbol, search_base_type_c::get_basetype_decl(ref_spec->type_name));
}
return NULL;