diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-02-17 19:40:38 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-02-17 19:40:38 (GMT) |
commit | 712ab49d04f9fe525b8552f74945945347e3b553 (patch) | |
tree | c2ee5bb85f9acfb3caa8479c32b49a1bf03de752 /src/code.l | |
parent | eba15fd2fe9a0b186fbf7b63d7eab729057c7f6b (diff) | |
download | Doxygen-712ab49d04f9fe525b8552f74945945347e3b553.zip Doxygen-712ab49d04f9fe525b8552f74945945347e3b553.tar.gz Doxygen-712ab49d04f9fe525b8552f74945945347e3b553.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 |