Editing of error message to make it more clear.
authormjsousa
Sat, 25 Oct 2014 11:28:48 +0100
changeset 941 c2ef93412407
parent 940 61e2bdae5899
child 942 8739d8259932
Editing of error message to make it more clear.
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<deref_operator_c *>(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);
     }
   }