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

Diff of /bison/src/output.c

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

revision 1.180 by akim, Sun Jun 30 17:34:31 2002 UTC revision 1.181 by akim, Sun Jun 30 17:34:52 2002 UTC
# Line 249  prepare_tokens (void) Line 249  prepare_tokens (void)
249             SYMBOL_TAG_GET uses slot 0.  */             SYMBOL_TAG_GET uses slot 0.  */
250          const char *cp =          const char *cp =
251            quotearg_n_style (1, c_quoting_style,            quotearg_n_style (1, c_quoting_style,
252                              symbol_tag_get (symbols[i]));                              symbols[i]->tag);
253          /* Width of the next token, including the two quotes, the coma          /* Width of the next token, including the two quotes, the coma
254             and the space.  */             and the space.  */
255          int strsize = strlen (cp) + 2;          int strsize = strlen (cp) + 2;
# Line 745  symbol_destructors_output (FILE *out) Line 745  symbol_destructors_output (FILE *out)
745          fprintf (out, "%s[[[%s]], [[%d]], [[%s]], [[%d]], [[%s]], [[%s]]]",          fprintf (out, "%s[[[%s]], [[%d]], [[%s]], [[%d]], [[%s]], [[%s]]]",
746                   first ? "" : ",\n",                   first ? "" : ",\n",
747                   infile, symbol->destructor_location.first_line,                   infile, symbol->destructor_location.first_line,
748                   symbol_tag_get (symbol),                   symbol->tag,
749                   symbol->number,                   symbol->number,
750                   symbol->destructor,                   symbol->destructor,
751                   symbol->type_name);                   symbol->type_name);
# Line 778  symbol_printers_output (FILE *out) Line 778  symbol_printers_output (FILE *out)
778          fprintf (out, "%s[[[%s]], [[%d]], [[%s]], [[%d]], [[%s]], [[%s]]]",          fprintf (out, "%s[[[%s]], [[%d]], [[%s]], [[%d]], [[%s]], [[%s]]]",
779                   first ? "" : ",\n",                   first ? "" : ",\n",
780                   infile, symbol->printer_location.first_line,                   infile, symbol->printer_location.first_line,
781                   symbol_tag_get (symbol),                   symbol->tag,
782                   symbol->number,                   symbol->number,
783                   symbol->printer,                   symbol->printer,
784                   symbol->type_name);                   symbol->type_name);
# Line 1196  m4_invoke (const char *definitions) Line 1196  m4_invoke (const char *definitions)
1196    if (!skel_in)    if (!skel_in)
1197      error (EXIT_FAILURE, errno, "cannot run m4");      error (EXIT_FAILURE, errno, "cannot run m4");
1198    skel_lex ();    skel_lex ();
   
1199  }  }
1200    
1201    
1202  /*---------------------------.  /*---------------------------.
1203  | Call the skeleton parser.  |  | Call the skeleton parser.  |
1204  `---------------------------*/  `---------------------------*/

Legend:
Removed from v.1.180  
changed lines
  Added in v.1.181

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