version 1.99, 2021/04/02 10:13:03 |
version 1.100, 2021/04/02 11:53:25 |
Line 1051 do_return(tnode_t *tn) |
|
Line 1051 do_return(tnode_t *tn) |
|
/* Create a temporary node for the left side */ |
/* Create a temporary node for the left side */ |
ln = expr_zalloc(sizeof *ln); |
ln = expr_zalloc(sizeof *ln); |
ln->tn_op = NAME; |
ln->tn_op = NAME; |
ln->tn_type = tduptyp(funcsym->s_type->t_subt); |
ln->tn_type = expr_dup_type(funcsym->s_type->t_subt); |
ln->tn_type->t_const = false; |
ln->tn_type->t_const = false; |
ln->tn_lvalue = true; |
ln->tn_lvalue = true; |
ln->tn_sym = funcsym; /* better than nothing */ |
ln->tn_sym = funcsym; /* better than nothing */ |