From: Robert Anisko Date: Wed, 29 Aug 2001 12:13:03 +0000 (+0000) Subject: * src/output.c (output): Do not define const, as this now X-Git-Tag: BISON-1_28d~3 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/870f12c270690079b9a56fb64ec21ee735453d68 * src/output.c (output): Do not define const, as this now causes more problems than it cures. --- diff --git a/ChangeLog b/ChangeLog index f7f5f0ac..7a6507ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-08-29 Paul Eggert + + * src/output.c (output): Do not define const, as this now + causes more problems than it cures. + 2001-08-29 Akim Demaille * doc/bison.texinfo: Modernize `@node' and `@top' use: just name diff --git a/src/output.c b/src/output.c index d5c3b990..64052a94 100644 --- a/src/output.c +++ b/src/output.c @@ -1340,15 +1340,6 @@ output (void) if (!no_parser_flag) obstack_sgrow (&table_obstack, "#include \n\n"); - /* Make "const" do nothing if not in ANSI C. */ - obstack_sgrow (&table_obstack, "\ -#ifndef __cplusplus\n\ -# ifndef __STDC__\n\ -# define const\n\ -# endif\n\ -#endif\n\ -\n"); - free_itemsets (); output_defines (); output_token_translations ();