/[bison]/bison/src/vcg.c
ViewVC logotype

Diff of /bison/src/vcg.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by eggert, Wed Dec 11 06:56:18 2002 UTC revision 1.12 by eggert, Fri Dec 13 08:49:08 2002 UTC
# Line 1  Line 1 
1  /* VCG description handler for Bison.  /* VCG description handler for Bison.
2    
3     Copyright (C) 2001, 2002 Free Software Foundation, Inc.     Copyright (C) 2001, 2002 Free Software Foundation, Inc.
4    
5     This file is part of Bison, the GNU Compiler Compiler.     This file is part of Bison, the GNU Compiler Compiler.
# Line 420  add_classname (graph *g, int val, const Line 421  add_classname (graph *g, int val, const
421  {  {
422    struct classname *classname;    struct classname *classname;
423    
424    classname = XMALLOC (struct classname, 1);    MALLOC (classname, 1);
425    classname->no = val;    classname->no = val;
426    classname->name = name;    classname->name = name;
427    classname->next = g->classname;    classname->next = g->classname;
# Line 432  add_infoname (graph *g, int integer, con Line 433  add_infoname (graph *g, int integer, con
433  {  {
434    struct infoname *infoname;    struct infoname *infoname;
435    
436    infoname = XMALLOC (struct infoname, 1);    MALLOC (infoname, 1);
437    infoname->integer = integer;    infoname->integer = integer;
438    infoname->chars = str;    infoname->chars = str;
439    infoname->next = g->infoname;    infoname->next = g->infoname;
# Line 446  add_colorentry (graph *g, int color_idx, Line 447  add_colorentry (graph *g, int color_idx,
447  {  {
448    struct colorentry *ce;    struct colorentry *ce;
449    
450    ce = XMALLOC (struct colorentry, 1);    MALLOC (ce, 1);
451    ce->color_index = color_idx;    ce->color_index = color_idx;
452    ce->red_cp = red_cp;    ce->red_cp = red_cp;
453    ce->green_cp = green_cp;    ce->green_cp = green_cp;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26