From a2b3f10183008612c4350e072d5611e0b6a8a462 Mon Sep 17 00:00:00 2001 From: Theophile Ranquet Date: Wed, 3 Oct 2012 15:26:56 +0000 Subject: [PATCH] maint: fix an erroneous include This fixes test 130 (Several parsers). * data/location.cc: Include rather than since we really need << on strings for instance. * NEWS: Document this. Signed-off-by: Akim Demaille --- NEWS | 4 +++- data/location.cc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index ad5f738e..c1ab7aa3 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,8 @@ GNU Bison NEWS Incorrect definitions of YY_, issued by yacc.c when no parser header is generated, are removed. + All the generated headers are self-contained. + ** Changes in the format of error messages This used to be the format of many error reports: @@ -1894,7 +1896,7 @@ along with this program. If not, see . LocalWords: namespaces strerror const autoconfiguration Dconst Autoconf's FDL LocalWords: Automake TMPDIR LESSEQ ylwrap endif yydebug YYTOKEN YYLSP ival hh LocalWords: extern YYTOKENTYPE TOKENTYPE yytokentype tokentype STYPE lval pdf - LocalWords: lang yyoutput dvi html ps POSIX lvalp llocp + LocalWords: lang yyoutput dvi html ps POSIX lvalp llocp calc yyo fval Local Variables: mode: outline diff --git a/data/location.cc b/data/location.cc index b7383d65..0673f4c2 100644 --- a/data/location.cc +++ b/data/location.cc @@ -30,7 +30,7 @@ b4_copyright([Positions for Bison parsers in C++], ]b4_cpp_guard_open([b4_dir_prefix[]position.hh])[ # include // std::max -# include +# include # include ]b4_null_define[ -- 2.47.2