diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-01-23 17:25:30 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-01-23 17:25:30 (GMT) |
commit | e3867f798e35c06c2208899f9c0bc264d8e6cb83 (patch) | |
tree | 56f084a80118debb8b5569e59a7435a20fc82b03 /src/docparser.cpp | |
parent | 38de39f102c03a52de4c9bb4875125745abce622 (diff) | |
download | Doxygen-e3867f798e35c06c2208899f9c0bc264d8e6cb83.zip Doxygen-e3867f798e35c06c2208899f9c0bc264d8e6cb83.tar.gz Doxygen-e3867f798e35c06c2208899f9c0bc264d8e6cb83.tar.bz2 |
Release-1.7.3-20110123
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 55c1f0f..94a1dfb 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -3,7 +3,7 @@ * * * - * Copyright (C) 1997-2010 by Dimitri van Heesch. + * Copyright (C) 1997-2011 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -2546,6 +2546,10 @@ void DocDotFile::parse() bool ambig; FileDef *fd = findFileDef(Doxygen::dotFileNameDict,m_name,ambig); + if (fd==0 && m_name.right(4)!=".dot") // try with .dot extension as well + { + fd = findFileDef(Doxygen::dotFileNameDict,m_name+".dot",ambig); + } if (fd) { m_file = fd->absFilePath(); @@ -2626,6 +2630,10 @@ void DocMscFile::parse() bool ambig; FileDef *fd = findFileDef(Doxygen::mscFileNameDict,m_name,ambig); + if (fd==0 && m_name.right(4)!=".msc") // try with .msc extension as well + { + fd = findFileDef(Doxygen::mscFileNameDict,m_name+".msc",ambig); + } if (fd) { m_file = fd->absFilePath(); @@ -2639,7 +2647,7 @@ void DocMscFile::parse() } else { - warn_doc_error(g_fileName,doctokenizerYYlineno,"warning: included dot file %s is not found " + warn_doc_error(g_fileName,doctokenizerYYlineno,"warning: included msc file %s is not found " "in any of the paths specified via MSCFILE_DIRS!",qPrint(m_name)); } |