]> git.saurik.com Git - bison.git/commitdiff
* src/output.c (output): Do not define const, as this now
authorRobert Anisko <robert@lrde.epita.fr>
Wed, 29 Aug 2001 12:13:03 +0000 (12:13 +0000)
committerRobert Anisko <robert@lrde.epita.fr>
Wed, 29 Aug 2001 12:13:03 +0000 (12:13 +0000)
causes more problems than it cures.

ChangeLog
src/output.c

index f7f5f0ac207f01460dd4f17ed7bf8b5700253564..7a6507ec49f755da2bc159257a937ec7799b3e02 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 2001-08-29  Akim Demaille  <akim@epita.fr>
 
        * doc/bison.texinfo: Modernize `@node' and `@top' use: just name
index d5c3b990517640fd95411d199a6a03706e1534fd..64052a9407dee738bd04eb839ca3377ef8dc6d66 100644 (file)
@@ -1340,15 +1340,6 @@ output (void)
   if (!no_parser_flag)
     obstack_sgrow (&table_obstack, "#include <stdio.h>\n\n");
 
   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 ();
   free_itemsets ();
   output_defines ();
   output_token_translations ();