equal
deleted
inserted
replaced
745 * may be accessed as fields of a structured variable! |
745 * may be accessed as fields of a structured variable! |
746 * Code handling a structured_variable_c must take |
746 * Code handling a structured_variable_c must take |
747 * this into account! |
747 * this into account! |
748 */ |
748 */ |
749 // SYM_REF2(structured_variable_c, record_variable, field_selector) |
749 // SYM_REF2(structured_variable_c, record_variable, field_selector) |
|
750 // TODO: It seems to me this code no longer gets to execute, since the function is overloaded in generate_c_st_c and generate_c_il_c |
|
751 // I will have to check this later, and delete this code if the above is really true! |
750 void *visit(structured_variable_c *symbol) { |
752 void *visit(structured_variable_c *symbol) { |
751 TRACE("structured_variable_c"); |
753 TRACE("structured_variable_c"); |
752 |
|
753 symbol->record_variable->accept(*this); |
754 symbol->record_variable->accept(*this); |
754 s4o.print("."); |
755 s4o.print("."); |
755 symbol->field_selector->accept(*this); |
756 symbol->field_selector->accept(*this); |
756 return NULL; |
757 return NULL; |
757 } |
758 } |