From: Paul Eggert Date: Mon, 4 Aug 2003 19:08:38 +0000 (+0000) Subject: (merge_output): Adjust to the change to ../data/glr.c. X-Git-Tag: BISON-2_0~223 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/16caa4f431002fd6af0ab4473548444ac8941b4e (merge_output): Adjust to the change to ../data/glr.c. --- diff --git a/src/output.c b/src/output.c index 90adafb9..124c0d9f 100644 --- a/src/output.c +++ b/src/output.c @@ -325,10 +325,10 @@ merger_output (FILE *out) for (n = 1, p = merge_functions; p != NULL; n += 1, p = p->next) { 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); 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); } fputs ("]])\n\n", out);