summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/docs/doxygen/stdheader.cc
diff options
context:
space:
mode:
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-21 08:16:32 +0000
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-21 08:16:32 +0000
commit3bda28ac33f78c793859f93044c94bd7745a7deb (patch)
treeb674bbf9295005d6d0b697987abd9143898e1804 /libstdc++-v3/docs/doxygen/stdheader.cc
parent199604c1379c9c72b79eb40983b6fcdf9125cf87 (diff)
downloadppe42-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
Diffstat (limited to 'libstdc++-v3/docs/doxygen/stdheader.cc')
-rw-r--r--libstdc++-v3/docs/doxygen/stdheader.cc7
1 files changed, 7 insertions, 0 deletions
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_"))
OpenPOWER on IntegriCloud