mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
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:
@@ -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[
|
||||
|
||||
|
||||
Reference in New Issue
Block a user