Branch: Tag:

2018-01-19

2018-01-19 16:14:39 by Martin Nilsson <nilsson@fastmail.com>

Use the ALLOC_STRUCT macro when possible.

2537:    struct used_vars *ret;    struct scope_info *src;    struct scope_info **dst; -  ret=xalloc(sizeof(struct used_vars)); +  ret=ALLOC_STRUCT(used_vars);    src = a->locals;    dst = &(ret->locals);    *dst = NULL;