diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-02-17 19:40:38 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-02-17 19:40:38 (GMT) |
commit | 2eccbfdb1a422e1ee594b1906de13d3f4a070c06 (patch) | |
tree | c2ee5bb85f9acfb3caa8479c32b49a1bf03de752 /src/code.l | |
parent | e3867f798e35c06c2208899f9c0bc264d8e6cb83 (diff) | |
download | Doxygen-2eccbfdb1a422e1ee594b1906de13d3f4a070c06.zip Doxygen-2eccbfdb1a422e1ee594b1906de13d3f4a070c06.tar.gz Doxygen-2eccbfdb1a422e1ee594b1906de13d3f4a070c06.tar.bz2 |
Release-1.7.3-20110217
Diffstat (limited to 'src/code.l')
-rw-r--r-- | src/code.l | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -1889,16 +1889,15 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP} //FileInfo *f; bool ambig; bool found=FALSE; - FileDef *fd=0; - QCString absPath = yytext; - if (g_sourceFileDef && QDir::isRelativePath(absPath)) - { - absPath = QDir::cleanDirPath(g_sourceFileDef->getPath()+"/"+absPath); - } + //QCString absPath = yytext; + //if (g_sourceFileDef && QDir::isRelativePath(absPath)) + //{ + // absPath = QDir::cleanDirPath(g_sourceFileDef->getPath()+"/"+absPath); + //} - //printf("looking for include %s -> %s\n",yytext,absPath.data()); - if ((fd=findFileDef(Doxygen::inputNameDict,absPath,ambig)) && - fd->isLinkable()) + FileDef *fd=findFileDef(Doxygen::inputNameDict,yytext,ambig); + //printf("looking for include %s -> %s fd=%p\n",yytext,absPath.data(),fd); + if (fd && fd->isLinkable()) { if (ambig) // multiple input files match the name { @@ -1925,9 +1924,9 @@ OPERATOR {ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP} found = TRUE; } } + //printf(" include file %s found=%d\n",fd ? fd->absFilePath().data() : "<none>",found); if (found) { - //printf(" include file %s found=%d\n",fd->absFilePath().data(),found); g_code->writeCodeLink(fd->getReference(),fd->getOutputFileBase(),0,yytext,fd->briefDescriptionAsTooltip()); } else |