summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-06-23 21:12:45 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-06-23 21:12:45 (GMT)
commitf92ed7a658968bac5b777322fea4d7216e41b487 (patch)
tree4786c7f47c0280d74828ce09dd0a0f1bf1bcdea6 /src/code.l
parent069dd778bce176ab42cdd83c7c78ad4e5200ae32 (diff)
downloadDoxygen-f92ed7a658968bac5b777322fea4d7216e41b487.zip
Doxygen-f92ed7a658968bac5b777322fea4d7216e41b487.tar.gz
Doxygen-f92ed7a658968bac5b777322fea4d7216e41b487.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(),