diff options
| author | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-21 08:16:32 +0000 |
|---|---|---|
| committer | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-21 08:16:32 +0000 |
| commit | 3bda28ac33f78c793859f93044c94bd7745a7deb (patch) | |
| tree | b674bbf9295005d6d0b697987abd9143898e1804 | |
| parent | 199604c1379c9c72b79eb40983b6fcdf9125cf87 (diff) | |
| download | ppe42-gcc-3bda28ac33f78c793859f93044c94bd7745a7deb.tar.gz ppe42-gcc-3bda28ac33f78c793859f93044c94bd7745a7deb.zip | |
2002-11-21 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/run_doxygen: Tighter search expression for sed.
* docs/doxygen/stdheader.cc: Handle the case of good headers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59332 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
| -rw-r--r-- | libstdc++-v3/docs/doxygen/run_doxygen | 2 | ||||
| -rw-r--r-- | libstdc++-v3/docs/doxygen/stdheader.cc | 7 |
3 files changed, 13 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index bb524b5fa02..c8225c7ad37 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2002-11-21 Phil Edwards <pme@gcc.gnu.org> + * docs/doxygen/run_doxygen: Tighter search expression for sed. + * docs/doxygen/stdheader.cc: Handle the case of good headers. + +2002-11-21 Phil Edwards <pme@gcc.gnu.org> + * acinclude.m4: Uniform formatting. * configure.in: Warn when generic atomicity.h is used. * configure.target: Fix comment. diff --git a/libstdc++-v3/docs/doxygen/run_doxygen b/libstdc++-v3/docs/doxygen/run_doxygen index d8ca2a91428..6a0806ce410 100644 --- a/libstdc++-v3/docs/doxygen/run_doxygen +++ b/libstdc++-v3/docs/doxygen/run_doxygen @@ -208,7 +208,7 @@ g++ ${srcdir}/docs/doxygen/stdheader.cc -o ./stdheader problematic=`egrep -l '#include <.*_.*>' [a-z]*.3` for f in $problematic; do # this is also slow, but safe and easy to debug - oldh=`sed -n '/#include </s/.*<\(.*\)>.*/\1/p' $f` + oldh=`sed -n '/fC#include </s/.*<\(.*\)>.*/\1/p' $f` newh=`echo $oldh | ./stdheader` sed "s=${oldh}=${newh}=" $f > TEMP mv TEMP $f diff --git a/libstdc++-v3/docs/doxygen/stdheader.cc b/libstdc++-v3/docs/doxygen/stdheader.cc index d705d0169c8..a792592fe2b 100644 --- a/libstdc++-v3/docs/doxygen/stdheader.cc +++ b/libstdc++-v3/docs/doxygen/stdheader.cc @@ -111,6 +111,13 @@ void do_word (std::string const& longheader) { std::string::size_type start = 0; + // if it doesn't contain a "." then it's already a std header + if (longheader.find(".") == std::string::npos) + { + std::cout << longheader << '\n'; + return; + } + if (longheader.substr(start,5) == "bits/") start += 5; if ((longheader.substr(start,4) == "stl_") || (longheader.substr(start,4) == "std_")) |

