diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-06-09 16:56:34 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-06-09 16:56:34 (GMT) |
commit | 784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca (patch) | |
tree | 84818288910d8f77f48ecf8e6b5fe3f4291d7a18 /src/pre.l | |
parent | 4c054d8406f9e4ceb582001c48cf659262774d0c (diff) | |
download | Doxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.zip Doxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.tar.gz Doxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.tar.bz2 |
Release-1.2.16-20020609
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -105,6 +105,7 @@ static void setFileName(const char *name) bool ambig; g_yyFileName=name; g_yyFileDef=findFileDef(Doxygen::inputNameDict,g_yyFileName,ambig); + if (g_yyFileDef && g_yyFileDef->isReference()) g_yyFileDef=0; } static void incrLevel() @@ -164,6 +165,7 @@ static Define *isDefined(const char *name) static FILE *checkAndOpenFile(const QCString &absName) { FILE *f = 0; + //printf("checkAndOpenFile(%s)\n",absName.data()); QFileInfo fi(absName); if (fi.exists() && fi.isFile()) { @@ -942,6 +944,7 @@ static void readIncludeFile(const QCString &inc) //printf("Searching for `%s'\n",incFileName.data()); if ((f=findFile(incFileName,localInclude))) // see if the include file can be found { + //printf("Found include file!\n"); if (Debug::isFlagSet(Debug::Preprocessor)) { for (i=0;i<g_includeStack.count();i++) msg(" "); @@ -983,6 +986,7 @@ static void readIncludeFile(const QCString &inc) { bool ambig; FileDef *fd = findFileDef(Doxygen::inputNameDict,incFileName,ambig); + //printf("findFileDef(%s)=%p\n",incFileName.data(),fd); // add include dependency to the file in which the #include was found oldFileDef->addIncludeDependency(fd,incFileName,localInclude); // add included by dependency |