pike.git/
src/
las.c
Branch:
Tag:
Non-build tags
All tags
No tags
2018-01-19
2018-01-19 16:14:39 by Martin Nilsson <nilsson@fastmail.com>
2d2105467236f8106f051aaeca065feff3d156cb (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
master
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;