diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-03-05 18:16:47 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-03-05 18:16:47 (GMT) |
commit | 69124e6ce7f023848920d2a18bc317ae92d355a2 (patch) | |
tree | fea55c7f521b9b8d4c7cdecc6579109f17cae89a /src/pre.l | |
parent | f4f3f1676896e6fd0c0044f001eda9829d9b3f60 (diff) | |
download | Doxygen-69124e6ce7f023848920d2a18bc317ae92d355a2.zip Doxygen-69124e6ce7f023848920d2a18bc317ae92d355a2.tar.gz Doxygen-69124e6ce7f023848920d2a18bc317ae92d355a2.tar.bz2 |
Release_1.1.0-20000305
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -818,6 +818,7 @@ static void readIncludeFile(const QCString &inc) FILE *f; QCString oldFileName = g_yyFileName.copy(); FileDef *oldFileDef = g_yyFileDef; + //printf("Searching for `%s'\n",incFileName.data()); if ((f=findFile(incFileName))) // see if the include file can be found { #if SHOW_INCLUDES @@ -845,8 +846,10 @@ static void readIncludeFile(const QCString &inc) { if (oldFileDef) { + bool ambig; + FileDef *fd = findFileDef(&inputNameDict,incFileName,ambig); // add include dependency to the file in which the #include was found - oldFileDef->addIncludeDependency(0,incFileName,localInclude); + oldFileDef->addIncludeDependency(fd,incFileName,localInclude); } #if SHOW_INCLUDES msg("#include %s: not found! skipping...\n",incFileName.data()); |