absyntax_utils/search_expression_type.cc
changeset 324 f763383992c9
parent 321 a96399ab57c2
child 336 229eb3e29216
--- a/absyntax_utils/search_expression_type.cc	Fri Jun 10 10:13:15 2011 +0100
+++ b/absyntax_utils/search_expression_type.cc	Thu Jun 16 11:05:13 2011 +0100
@@ -231,7 +231,7 @@
   symbol_c *res;
   
   /* Nope, now we assume it is a variable, and determine its type... */
-  res = search_varfb_instance_type->get_type(symbol);
+  res = search_varfb_instance_type->get_basetype_decl(symbol);
   if (NULL != res) return res;
   
   return NULL;
@@ -244,7 +244,7 @@
   symbol_c *res;
   
   /* Nope, now we assume it is a variable, and determine its type... */
-  res = search_varfb_instance_type->get_type(symbol);
+  res = search_varfb_instance_type->get_basetype_decl(symbol);
   if (NULL != res) return res;
   
   return NULL;
@@ -258,7 +258,7 @@
   symbol_c *res;
   
   /* Nope, now we assume it is a variable, and determine its type... */
-  res = search_varfb_instance_type->get_type(symbol);
+  res = search_varfb_instance_type->get_basetype_decl(symbol);
   if (NULL != res) return res;
   
   return NULL;
@@ -268,7 +268,7 @@
   symbol_c *res;
   
   /* Nope, now we assume it is a variable, and determine its type... */
-  res = search_varfb_instance_type->get_type(symbol);
+  res = search_varfb_instance_type->get_basetype_decl(symbol);
   if (NULL != res) return res;
   
   return NULL;