mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 00:03:03 +00:00
(merge_output): Adjust to the change to ../data/glr.c.
This commit is contained in:
@@ -325,10 +325,10 @@ merger_output (FILE *out)
|
|||||||
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)
|
||||||
{
|
{
|
||||||
if (p->type[0] == '\0')
|
if (p->type[0] == '\0')
|
||||||
fprintf (out, " case %d: yyval = %s (*yy0, *yy1); break;\n",
|
fprintf (out, " case %d: *yy0 = %s (*yy0, *yy1); break;\n",
|
||||||
n, p->name);
|
n, p->name);
|
||||||
else
|
else
|
||||||
fprintf (out, " case %d: yyval.%s = %s (*yy0, *yy1); break;\n",
|
fprintf (out, " case %d: yy0->%s = %s (*yy0, *yy1); break;\n",
|
||||||
n, p->type, p->name);
|
n, p->type, p->name);
|
||||||
}
|
}
|
||||||
fputs ("]])\n\n", out);
|
fputs ("]])\n\n", out);
|
||||||
|
|||||||
Reference in New Issue
Block a user