| 104 | |
| 105 | |
| 106 | void cSemanticASTVisitor::VisitObjectAssignment(cASTObjectAssignment& node) |
| 107 | { |
| 108 | m_obj_assign = true; |
| 109 | node.GetTarget()->Accept(*this); |
| 110 | m_obj_assign = false; |
| 111 | |
| 112 | if (node.GetTarget()->GetType().type != TYPE(OBJECT_REF)) SEMANTIC_ERROR(INVALID_ASSIGNMENT_TARGET); |
| 113 | |
| 114 | node.GetExpression()->Accept(*this); |
| 115 | } |
| 116 | |
| 117 | |
| 118 |
nothing calls this directly
no test coverage detected