# HG changeset patch # User mjsousa # Date 1414232928 -3600 # Node ID c2ef93412407ca709aca57a73a833dc0b3ad6b7f # Parent 61e2bdae58992dd4684576696afff4d4c10e1cf3 Editing of error message to make it more clear. diff -r 61e2bdae5899 -r c2ef93412407 stage4/generate_c/generate_c_st.cc --- a/stage4/generate_c/generate_c_st.cc Sat Oct 25 11:21:40 2014 +0100 +++ b/stage4/generate_c/generate_c_st.cc Sat Oct 25 11:28:48 2014 +0100 @@ -505,7 +505,7 @@ } else { /* We are in a structured variable - the structured_variable_c itself will already have printed out the '->' !! */ if (NULL != dynamic_cast(symbol->exp)) - STAGE4_ERROR(symbol, symbol->exp, "The use of consecutive derefencing operators between a struct and its elem (ex: struct_ref_ref^^.elem) is currently not supported for code inside a Function_Block."); + STAGE4_ERROR(symbol, symbol->exp, "The use of two or more consecutive derefencing operators between a struct variable and its record elem (ex: struct_ref_ref^^.elem) is currently not supported for code inside a Function_Block."); symbol->exp->accept(*this); } }