stage3/visit_expression_type.cc
changeset 386 606443ffd589
parent 367 6d94128ba5ad
child 390 9cf96d45853d
--- a/stage3/visit_expression_type.cc	Fri Oct 28 10:25:07 2011 +0100
+++ b/stage3/visit_expression_type.cc	Sat Oct 29 18:56:25 2011 +0100
@@ -2076,9 +2076,9 @@
   } // if (debug)
 
   if        (NULL == left_type) {
-    STAGE3_ERROR(symbol->l_exp, symbol->l_exp, "Could not determine data type of expression (undefined variable or strcuture element?).\n");
+    STAGE3_ERROR(symbol->l_exp, symbol->l_exp, "Could not determine data type of expression (undefined variable, constant, or structure element?).\n");
   } else if (NULL == right_type) {
-    STAGE3_ERROR(symbol->r_exp, symbol->r_exp, "Could not determine data type of expression (undefined variable or strcuture element?).\n");
+    STAGE3_ERROR(symbol->r_exp, symbol->r_exp, "Could not determine data type of expression (undefined variable, constant, or structure element?).\n");
   } else if (!is_valid_assignment(left_type, right_type))
     STAGE3_ERROR(symbol, symbol, "data type mismatch in assignment statement!\n");