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

Diff of /bison/src/print_graph.c

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

revision 1.52 by eggert, Wed Dec 11 06:43:08 2002 UTC revision 1.53 by eggert, Sat May 24 19:16:02 2003 UTC
# Line 1  Line 1 
1  /* Output a VCG description on generated parser, for Bison,  /* Output a VCG description on generated parser, for Bison,
2    
3     Copyright (C) 2001, 2002 Free Software Foundation, Inc.     Copyright (C) 2001, 2002, 2003 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.
6    
# Line 100  print_core (struct obstack *oout, state Line 100  print_core (struct obstack *oout, state
100              {              {
101                bitset_iterator biter;                bitset_iterator biter;
102                int k;                int k;
103                int not_first = 0;                char const *sep = "";
104                obstack_sgrow (oout, "[");                obstack_sgrow (oout, "[");
105                BITSET_FOR_EACH (biter, reds->lookaheads[redno], k, 0)                BITSET_FOR_EACH (biter, reds->lookaheads[redno], k, 0)
106                  obstack_fgrow2 (oout, "%s%s",                  {
107                                  not_first++ ? ", " : "",                    obstack_fgrow2 (oout, "%s%s", sep, symbols[k]->tag);
108                                  symbols[k]->tag);                    sep = ", ";
109                    }
110                obstack_sgrow (oout, "]");                obstack_sgrow (oout, "]");
111              }              }
112          }          }

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

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