equal
deleted
inserted
replaced
503 symbol->exp->accept(*this); |
503 symbol->exp->accept(*this); |
504 s4o.print(")"); |
504 s4o.print(")"); |
505 } else { |
505 } else { |
506 /* We are in a structured variable - the structured_variable_c itself will already have printed out the '->' !! */ |
506 /* We are in a structured variable - the structured_variable_c itself will already have printed out the '->' !! */ |
507 if (NULL != dynamic_cast<deref_operator_c *>(symbol->exp)) |
507 if (NULL != dynamic_cast<deref_operator_c *>(symbol->exp)) |
508 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."); |
508 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."); |
509 symbol->exp->accept(*this); |
509 symbol->exp->accept(*this); |
510 } |
510 } |
511 } |
511 } |
512 |
512 |
513 return NULL; |
513 return NULL; |