]> git.saurik.com Git - bison.git/commitdiff
* src/bison.simple (YYSIZE_T, YYSTACK_ALLOC, YYSTACK_FREE):
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 13 Dec 2001 02:22:05 +0000 (02:22 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 13 Dec 2001 02:22:05 +0000 (02:22 +0000)
Do not infringe on the global user namespace when using C++.
(YYFPRINTF, YYSTDERR): New macros, needed for the above.
All uses of `fprintf' and `stderr' changed.

* src/output.c (output): Do not output "#include <stdio.h>"; that
is bison.simple's job.  stdio.h should be included only if
necessary, to avoid infringing on the user name space when
possible.

ChangeLog

index 0f39a678dfe664cf0bf39a17dfc6f9ecaedc41b6..4f67212f7df1c210b6e28c9a5379800b03750839 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2001-12-12  Paul Eggert  <eggert@twinsun.com>
+
+       * src/bison.simple (YYSIZE_T, YYSTACK_ALLOC, YYSTACK_FREE):
+       Do not infringe on the global user namespace when using C++.
+       (YYFPRINTF, YYSTDERR): New macros, needed for the above.
+       All uses of `fprintf' and `stderr' changed.
+
+       * src/output.c (output): Do not output "#include <stdio.h>"; that
+       is bison.simple's job.  stdio.h should be included only if
+       necessary, to avoid infringing on the user name space when
+       possible.
+
 2001-12-12  Akim Demaille  <akim@epita.fr>
 
        * src/complain.h, src/complain.c: Remove error_one_per_line, rely
 2001-12-12  Akim Demaille  <akim@epita.fr>
 
        * src/complain.h, src/complain.c: Remove error_one_per_line, rely