c++: fewer #includes in the headers.

* data/lalr1.cc: Define YY_NULL in the *.cc file, it is not needed
in the header.
* data/location.cc: iosfwd suffices.
This commit is contained in:
Akim Demaille
2012-07-04 09:57:40 +02:00
parent a7385a21ce
commit 771dc64324
2 changed files with 9 additions and 9 deletions

View File

@@ -29,9 +29,9 @@ b4_copyright([Positions for Bison parsers in C++],
]b4_cpp_guard_open([b4_dir_prefix[]position.hh])[
# include <iostream>
# include <algorithm> // std::max
# include <iosfwd>
# include <string>
# include <algorithm>
]b4_null_define[