Skip to content

Commit

Permalink
Fix debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed May 4, 2022
1 parent 444dcca commit 99e997d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2697,7 +2697,7 @@ static bool getScopeDefs(const QCString &docScope,const QCString &scope,
cd=0;nd=0;

QCString scopeName=scope;
//printf("getScopeDefs: docScope='%s' scope='%s'\n",docScope,scope);
//printf("getScopeDefs: docScope='%s' scope='%s'\n",qPrint(docScope),qPrint(scope));
if (scopeName.isEmpty()) return FALSE;

bool explicitGlobalScope=FALSE;
Expand All @@ -2720,8 +2720,7 @@ static bool getScopeDefs(const QCString &docScope,const QCString &scope,
if (scopeOffset>0) fullName.prepend(docScopeName.left(scopeOffset)+"::");

if (((cd=getClass(fullName)) || // normal class
(cd=getClass(fullName+"-p")) //|| // ObjC protocol
//(cd=getClass(fullName+"-g")) // C# generic
(cd=getClass(fullName+"-p")) // ObjC protocol
) && cd->isLinkable())
{
return TRUE; // class link written => quit
Expand Down Expand Up @@ -2803,11 +2802,12 @@ bool resolveRef(/* in */ const QCString &scName,
return FALSE;
}

//printf("scName=%s fullName=%s\n",scName,qPrint(fullName));
//printf("scName=%s fullName=%s\n",qPrint(scName),qPrint(fullName));

// check if this is a class or namespace reference
if (scName!=fullName && getScopeDefs(scName,fullName,cd,nd))
{
//printf("found scopeDef\n");
if (cd) // scope matches that of a class
{
*resContext = cd;
Expand All @@ -2824,7 +2824,7 @@ bool resolveRef(/* in */ const QCString &scName,
{
//printf("found scName=%s fullName=%s scName==fullName=%d "
// "inSeeBlock=%d scopePos=%d!\n",
// scName,qPrint(fullName),scName==fullName,inSeeBlock,scopePos);
// qPrint(scName),qPrint(fullName),scName==fullName,inSeeBlock,scopePos);
return FALSE;
}
// continue search...
Expand Down

0 comments on commit 99e997d

Please sign in to comment.