equal
deleted
inserted
replaced
935 |
935 |
936 /*********************************/ |
936 /*********************************/ |
937 /* B 3.2.1 Assignment Statements */ |
937 /* B 3.2.1 Assignment Statements */ |
938 /*********************************/ |
938 /*********************************/ |
939 void *visit(assignment_statement_c *symbol) { |
939 void *visit(assignment_statement_c *symbol) { |
940 symbol_c *left_type = search_varfb_instance_type->get_type_id(symbol->l_exp); |
940 symbol_c *left_type = symbol->l_exp->datatype; |
941 |
941 |
942 if (this->is_variable_prefix_null()) { |
942 if (this->is_variable_prefix_null()) { |
943 symbol->l_exp->accept(*this); |
943 symbol->l_exp->accept(*this); |
944 s4o.print(" = "); |
944 s4o.print(" = "); |
945 print_check_function(left_type, symbol->r_exp); |
945 print_check_function(left_type, symbol->r_exp); |