[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bison-1_29-branch] output-const.patch
From: |
marc-alexandre autret |
Subject: |
[bison-1_29-branch] output-const.patch |
Date: |
Wed, 29 Aug 2001 15:23:58 +0000 (GMT) |
Hi,
All is the ChangeLog entry.
2001-08-17 Paul Eggert <address@hidden>
* src/output.c (output): Do not define const, as this now
causes more problems than it cures.
===================================================================
RCS file: NEWS,v
retrieving revision 1.28.3.0
retrieving revision 1.28.3.1
diff -pu -r1.28.3.0 -r1.28.3.1
--- NEWS 2001/08/15 07:56:19 1.28.3.0
+++ NEWS 2001/08/17 23:28:50 1.28.3.1
@@ -3,6 +3,8 @@ Bison News
Changes in version 1.28c:
+* Output file does not redefine const; that is now config.h's job.
+
* The Bison manual is now distributed under the terms of the GNU FDL.
* The input and the output files has automatically a similar extension.
===================================================================
RCS file: src/output.c,v
retrieving revision 1.28.3.0
retrieving revision 1.28.3.1
diff -pu -r1.28.3.0 -r1.28.3.1
--- src/output.c 2001/08/13 14:20:01 1.28.3.0
+++ src/output.c 2001/08/17 23:28:50 1.28.3.1
@@ -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 ();
--
Autret Marc (address@hidden)
Eleve Ingenieur en Informatique.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bison-1_29-branch] output-const.patch,
marc-alexandre autret <=