/[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.222 by hilfinger, Tue Jun 10 02:44:58 2003 UTC revision 1.223 by eggert, Mon Aug 4 19:08:38 2003 UTC
# Line 325  merger_output (FILE *out) Line 325  merger_output (FILE *out)
325    for (n = 1, p = merge_functions; p != NULL; n += 1, p = p->next)    for (n = 1, p = merge_functions; p != NULL; n += 1, p = p->next)
326      {      {
327        if (p->type[0] == '\0')        if (p->type[0] == '\0')
328          fprintf (out, "  case %d: yyval = %s (*yy0, *yy1); break;\n",          fprintf (out, "  case %d: *yy0 = %s (*yy0, *yy1); break;\n",
329                   n, p->name);                   n, p->name);
330        else        else
331          fprintf (out, "  case %d: yyval.%s = %s (*yy0, *yy1); break;\n",          fprintf (out, "  case %d: yy0->%s = %s (*yy0, *yy1); break;\n",
332                   n, p->type, p->name);                   n, p->type, p->name);
333      }      }
334    fputs ("]])\n\n", out);    fputs ("]])\n\n", out);

Legend:
Removed from v.1.222  
changed lines
  Added in v.1.223

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