summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2011-02-17 19:40:38 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2011-02-17 19:40:38 (GMT)
commit712ab49d04f9fe525b8552f74945945347e3b553 (patch)
treec2ee5bb85f9acfb3caa8479c32b49a1bf03de752 /src/code.l
parenteba15fd2fe9a0b186fbf7b63d7eab729057c7f6b (diff)
downloadDoxygen-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.l19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/code.l b/src/code.l
index a0a4d9b..804bad8 100644
--- a/src/code.l
+++ b/src/code.l
@@ -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