diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-06-02 22:07:26 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-06-02 22:07:26 (GMT) |
commit | c562786745020f7a59d4006537416ed43c2de2ff (patch) | |
tree | bd8f2ab65015f145bfdba953a3546c2340641c4a /src/code.l | |
parent | 6f9fc044cdf4ac15a489746d5b0167c9fc433f66 (diff) | |
download | Doxygen-c562786745020f7a59d4006537416ed43c2de2ff.zip Doxygen-c562786745020f7a59d4006537416ed43c2de2ff.tar.gz Doxygen-c562786745020f7a59d4006537416ed43c2de2ff.tar.bz2 |
Doxygen-1.2.16-20020603
Diffstat (limited to 'src/code.l')
-rw-r--r-- | src/code.l | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -1057,13 +1057,16 @@ TYPEKW ("bool"|"char"|"double"|"float"|"int"|"long"|"short"|"signed"|"unsigned" if (!name.isEmpty() && g_sourceFileDef) { FileName *fn = Doxygen::inputNameDict->find(name); - FileNameIterator fni(*fn); - // for each include name - for (fni.toFirst();!found && (fd=fni.current());++fni) + if (fn) { - // see if this source file actually includes the file - found = g_sourceFileDef->isIncluded(fd->absFilePath()); - //printf(" include file %s found=%d\n",fd->absFilePath().data(),found); + FileNameIterator fni(*fn); + // for each include name + for (fni.toFirst();!found && (fd=fni.current());++fni) + { + // see if this source file actually includes the file + found = g_sourceFileDef->isIncluded(fd->absFilePath()); + //printf(" include file %s found=%d\n",fd->absFilePath().data(),found); + } } } } |