diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-31 09:27:24 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-31 09:27:24 (GMT) |
commit | f94a2f3a895f2601226845d16093546757a540e6 (patch) | |
tree | 0c1385d29b4e09de59b9f4fa1fdd130e3aa48fa6 /src/pre.l | |
parent | e20debc69515eba71fbe7def1925e6df16224c96 (diff) | |
download | Doxygen-f94a2f3a895f2601226845d16093546757a540e6.zip Doxygen-f94a2f3a895f2601226845d16093546757a540e6.tar.gz Doxygen-f94a2f3a895f2601226845d16093546757a540e6.tar.bz2 |
issue #7934: include dependency graph: The boxes of files shows the name of the included file not its own filename
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3359,9 +3359,9 @@ void Preprocessor::processFile(const char *fileName,BufStr &input,BufStr &output { inc->fromFileDef->addIncludeDependency(inc->toFileDef,inc->includeName,inc->local,inc->imported); } - if (inc->toFileDef) + if (inc->toFileDef && inc->fromFileDef) { - inc->toFileDef->addIncludedByDependency(inc->fromFileDef,inc->includeName,inc->local,inc->imported); + inc->toFileDef->addIncludedByDependency(inc->fromFileDef,inc->fromFileDef->docName(),inc->local,inc->imported); } } // add the macro definition for this file to the global map |