stage3/print_datatypes_error.cc
changeset 558 9273dfc5fa7c
parent 552 3c39d80fdede
child 676 ca4f17211251
--- a/stage3/print_datatypes_error.cc	Sun May 13 17:57:15 2012 +0200
+++ b/stage3/print_datatypes_error.cc	Tue May 15 15:50:43 2012 +0100
@@ -649,7 +649,7 @@
   /* It does not make sense to call symbol->location->accept(*this). The check is done right here if the following if() */
   // symbol->location->accept(*this); 
   if ((is_type_valid(symbol->located_var_spec_init->datatype)) && (!is_type_valid(symbol->location->datatype)))
-    STAGE3_ERROR(0, symbol, symbol, "Location is incompatible with data type.");
+    STAGE3_ERROR(0, symbol, symbol, "Bit size of data type is incompatible with bit size of location.");
   return NULL;
 }