X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/17ee7397a87c4c4ccd45f956e0b88b824a3689f9..e62f1a899168bdf1658dd6d934dea407491a80ff:/src/symlist.c diff --git a/src/symlist.c b/src/symlist.c index 9d46d8a5..c7510c43 100644 --- a/src/symlist.c +++ b/src/symlist.c @@ -32,7 +32,7 @@ symbol_list * symbol_list_new (symbol *sym, location loc) { - symbol_list *res = XMALLOC (symbol_list, 1); + symbol_list *res = xmalloc (sizeof *res); res->next = NULL; res->sym = sym; res->location = loc;