Blame doxygen-1.7.1-bz#627553.patch
|
Than Ngo |
633de6 |
--- doxygen-1.7.1/src/pre.l 2010-06-18 12:04:30.000000000 +0200
|
|
Than Ngo |
633de6 |
+++ doxygen-1.7.1/src/pre.l.include 2010-08-26 12:36:27.000000000 +0200
|
|
Than Ngo |
633de6 |
@@ -128,6 +128,11 @@ static void setFileName(const char *name
|
|
Than Ngo |
633de6 |
QFileInfo fi(name);
|
|
Than Ngo |
633de6 |
g_yyFileName=convertToQCString(fi.absFilePath());
|
|
Than Ngo |
633de6 |
g_yyFileDef=findFileDef(Doxygen::inputNameDict,g_yyFileName,ambig);
|
|
Than Ngo |
633de6 |
+ if (g_yyFileDef==0) // if this is not an input file check if it is an
|
|
Than Ngo |
633de6 |
+ // include file
|
|
Than Ngo |
633de6 |
+ {
|
|
Than Ngo |
633de6 |
+ g_yyFileDef=findFileDef(Doxygen::includeNameDict,g_yyFileName,ambig);
|
|
Than Ngo |
633de6 |
+ }
|
|
Than Ngo |
633de6 |
//printf("setFileName(%s) g_yyFileName=%s g_yyFileDef=%p\n",
|
|
Than Ngo |
633de6 |
// name,g_yyFileName.data(),g_yyFileDef);
|
|
Than Ngo |
633de6 |
if (g_yyFileDef && g_yyFileDef->isReference()) g_yyFileDef=0;
|