From 870f12c270690079b9a56fb64ec21ee735453d68 Mon Sep 17 00:00:00 2001 From: Robert Anisko Date: Wed, 29 Aug 2001 12:13:03 +0000 Subject: [PATCH] * src/output.c (output): Do not define const, as this now causes more problems than it cures. --- ChangeLog | 5 +++++ src/output.c | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) 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 ();