symbol_list *
symbol_list_new (symbol *sym, location loc)
{
- symbol_list *res = XMALLOC (symbol_list, 1);
+ symbol_list *res = MALLOC (res, 1);
res->next = NULL;
res->sym = sym;
res->location = loc;
/* VCG description handler for Bison.
+
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
{
struct classname *classname;
- classname = XMALLOC (struct classname, 1);
+ MALLOC (classname, 1);
classname->no = val;
classname->name = name;
classname->next = g->classname;
{
struct infoname *infoname;
- infoname = XMALLOC (struct infoname, 1);
+ MALLOC (infoname, 1);
infoname->integer = integer;
infoname->chars = str;
infoname->next = g->infoname;
{
struct colorentry *ce;
- ce = XMALLOC (struct colorentry, 1);
+ MALLOC (ce, 1);
ce->color_index = color_idx;
ce->red_cp = red_cp;
ce->green_cp = green_cp;