mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 11:13:03 +00:00
* src/output.c (output): Do not define const, as this now
causes more problems than it cures.
This commit is contained in:
@@ -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>
|
2001-08-29 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* doc/bison.texinfo: Modernize `@node' and `@top' use: just name
|
* doc/bison.texinfo: Modernize `@node' and `@top' use: just name
|
||||||
|
|||||||
@@ -1340,15 +1340,6 @@ output (void)
|
|||||||
if (!no_parser_flag)
|
if (!no_parser_flag)
|
||||||
obstack_sgrow (&table_obstack, "#include <stdio.h>\n\n");
|
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 ();
|
free_itemsets ();
|
||||||
output_defines ();
|
output_defines ();
|
||||||
output_token_translations ();
|
output_token_translations ();
|
||||||
|
|||||||
Reference in New Issue
Block a user