]> 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:52:26 +0000 (08:52 +0200)
* doc/bison.texinfo (Calc++ Scanner): Prefer C++ headers to C
headers.

ChangeLog
doc/bison.texinfo

index 2a6a9cb6da9b91736faeea1229afcf0294fba3f7..8f644c4aa6a502e00c111b540fd7523ec3c2f6fb 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-01  Joel E. Denny  <jdenny@ces.clemson.edu>
 
        Declare %code to be a permanent feature.
index 3886956e487007bb3762a7c6c4bab2e8d18567e0..c91a740a68c1882c938dfc5f37698477445efde5 100644 (file)
@@ -8575,8 +8575,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"