From: Robert Anisko Date: Mon, 27 Aug 2001 14:34:02 +0000 (+0000) Subject: * src/output.c (output_parser): Fix. Store single '%' characters in X-Git-Tag: pre-merge-of-1-29-branch~55 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/b0cfa28a1274c014b7bbff301f9421d7d09dd21e * src/output.c (output_parser): Fix. Store single '%' characters in the output obstack instead of throwing them away. --- diff --git a/ChangeLog b/ChangeLog index 9da3c2f6..4636c077 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-08-27 Robert Anisko + + * src/output.c (output_parser): Fix. Store single '%' characters in + the output obstack instead of throwing them away. + 2001-08-27 Akim Demaille * Makefile.am (AUTOMAKE_OPTIONS): 1.5. diff --git a/src/output.c b/src/output.c index 72e4048a..254927d0 100644 --- a/src/output.c +++ b/src/output.c @@ -1009,6 +1009,8 @@ output_parser (void) obstack_sgrow (&table_obstack, macro_key); } } + else + obstack_1grow (&table_obstack, '%'); } /* End. */