summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
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