mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
forgot to allow struct move (for struct assigment)
This is an imperfect revision of history.
This commit is contained in:
parent
aadf6ebf6a
commit
634dcbba95
1 changed files with 1 additions and 1 deletions
|
@ -874,7 +874,7 @@ do_op_struct (int op, expr_t *e, expr_t *e1, expr_t *e2)
|
|||
{
|
||||
type_t *type;
|
||||
|
||||
if (op != '=' && op != 'b')
|
||||
if (op != '=' && op != 'b' && op != 'M')
|
||||
return error (e1, "invalid operand for struct");
|
||||
if ((type = get_type (e1)) != get_type (e2))
|
||||
return type_mismatch (e1, e2, op);
|
||||
|
|
Loading…
Reference in a new issue