Fix comment.
authormjsousa <msousa@fe.up.pt>
Thu, 10 May 2012 15:40:19 +0100
changeset 551 a75e3aea98ff
parent 550 322f063daa9f
child 552 3c39d80fdede
Fix comment.
stage3/print_datatypes_error.cc
--- a/stage3/print_datatypes_error.cc	Wed May 09 23:13:04 2012 +0100
+++ b/stage3/print_datatypes_error.cc	Thu May 10 15:40:19 2012 +0100
@@ -595,7 +595,7 @@
 	for (int i = 0; i < symbol->n; i++) {
 		int start_error_count = error_count;
 		symbol->elements[i]->accept(*this);
-		/* I (mjs) do not believe that the following error message will ever get printed, but lets play it safe and leave it in... */
+		/* The following error message will only get printed if the current_display_error_level is set higher than 0! */
 		if ((start_error_count == error_count) && (NULL == symbol->elements[i]->datatype))
 			STAGE3_ERROR(0, symbol, symbol, "Invalid data type for array subscript field.");
 	}