--- 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");