summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-06-23 21:12:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-06-23 21:12:45 (GMT)
commitd497898d92c2d2e3495505095563f07549dc2201 (patch)
tree4786c7f47c0280d74828ce09dd0a0f1bf1bcdea6 /src/code.l
parentf160c0c8c0545b1f397fbc7892bf9f71995cf790 (diff)
downloadDoxygen-d497898d92c2d2e3495505095563f07549dc2201.zip
Doxygen-d497898d92c2d2e3495505095563f07549dc2201.tar.gz
Doxygen-d497898d92c2d2e3495505095563f07549dc2201.tar.bz2
Release-1.4.3-20050623
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code.l b/src/code.l
index 598b781..e42df77 100644
--- a/src/code.l
+++ b/src/code.l
@@ -448,9 +448,9 @@ static void startCodeLine()
//lineAnchor.sprintf("l%05d",g_yyLineNr);
Definition *d = g_sourceFileDef->getSourceDefinition(g_yyLineNr);
- //printf("startCodeLine %d d=%p\n",g_yyLineNr,d);
+ //printf("startCodeLine %d d=%s\n", g_yyLineNr,d ? d->name().data() : "<null>");
//g_code->startLineNumber();
- if (!g_includeCodeFragment && d && d->isLinkableInProject())
+ if (!g_includeCodeFragment && d)
{
g_currentDefinition = d;
g_currentMemberDef = g_sourceFileDef->getSourceMember(g_yyLineNr);
@@ -476,7 +476,7 @@ static void startCodeLine()
g_sourceFileDef->getSourceFileBase(),
lineAnchor);
}
- else
+ else if (d->isLinkableInProject())
{
g_code->writeLineNumber(d->getReference(),
d->getOutputFileBase(),