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); |