]> git.saurik.com Git - bison.git/commitdiff
doc: use C++ headers.
authorAkim Demaille <demaille@gostai.com>
Thu, 7 May 2009 21:18:44 +0000 (23:18 +0200)
committerAkim Demaille <demaille@gostai.com>
Mon, 11 May 2009 06:27:14 +0000 (08:27 +0200)
* doc/bison.texinfo (Calc++ Scanner): Prefer C++ headers to C
headers.

ChangeLog
doc/bison.texinfo

index 09047f841e0744109cb8ce22cea57680d4b17c72..b7534e36f5de0537c457b88fbbf643776530eaa2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-05-11  Akim Demaille  <demaille@gostai.com>
+
+       doc: use C++ headers.
+       * doc/bison.texinfo (Calc++ Scanner): Prefer C++ headers to C
+       headers.
+
 2009-05-11  Akim Demaille  <demaille@gostai.com>
 
        doc: token.prefix
index 176cc7ff645867ac1a6e1147cac5bb89c9dcfcb4..aa74c9efea244a0f4eb997c1dd1dfec3a194d25d 100644 (file)
@@ -8896,8 +8896,8 @@ parser's to get the set of defined tokens.
 @example
 %@{                                            /* -*- C++ -*- */
 # include <cstdlib>
-# include <errno.h>
-# include <limits.h>
+# include <cerrno>
+# include <climits>
 # include <string>
 # include "calc++-driver.hh"
 # include "calc++-parser.hh"