# HG changeset patch # User mjsousa # Date 1336660819 -3600 # Node ID a75e3aea98ff5355eaa299e894c195d2700c5a5e # Parent 322f063daa9f88c189f3ba96e34616d78f1f0eea Fix comment. diff -r 322f063daa9f -r a75e3aea98ff 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."); }