* src/output.c (output): Do not define const, as this now

causes more problems than it cures.
This commit is contained in:
Robert Anisko
2001-08-29 12:13:03 +00:00
parent e0a53a7f4a
commit 870f12c270
2 changed files with 5 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
2001-08-29 Paul Eggert <eggert@twinsun.com>
* src/output.c (output): Do not define const, as this now
causes more problems than it cures.
2001-08-29 Akim Demaille <akim@epita.fr>
* doc/bison.texinfo: Modernize `@node' and `@top' use: just name

View File

@@ -1340,15 +1340,6 @@ output (void)
if (!no_parser_flag)
obstack_sgrow (&table_obstack, "#include <stdio.h>\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 ();