stage3/declaration_check.cc
changeset 676 ca4f17211251
parent 663 6ad7de83d22c
child 718 a9f8cc778444
--- a/stage3/declaration_check.cc	Thu Oct 11 19:16:35 2012 +0100
+++ b/stage3/declaration_check.cc	Sat Oct 13 12:13:49 2012 +0100
@@ -111,7 +111,7 @@
 	/* For the moment, we will just use search_base_type_c instead... */
         symbol_c *glo_type = search_base_type.get_basetype_decl(glo_decl);
         symbol_c *ext_type = search_base_type.get_basetype_decl(ext_decl);
-        if (! is_type_equal(glo_type, ext_type))
+        if (! get_datatype_info_c::is_type_equal(glo_type, ext_type))
           STAGE3_ERROR(0, ext_decl, ext_decl, "Declaration error an external redefinition data type.");
       }
 	}