|
|
@ -1467,7 +1467,7 @@ void CClassNode::fillAttributes()
|
|
|
|
CClassNode *classNd = NULL;
|
|
|
|
CClassNode *classNd = NULL;
|
|
|
|
CTypeNode *typeNd = NULL;
|
|
|
|
CTypeNode *typeNd = NULL;
|
|
|
|
|
|
|
|
|
|
|
|
if (classNd = decl->getClassNode(decl->Type, false))
|
|
|
|
if ( (classNd = decl->getClassNode(decl->Type, false)) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (classNd->IsBackReferenced || classNd->ForceReference)
|
|
|
|
if (classNd->IsBackReferenced || classNd->ForceReference)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1493,7 +1493,7 @@ void CClassNode::fillAttributes()
|
|
|
|
decl->DeclarationType = ArrayClass;
|
|
|
|
decl->DeclarationType = ArrayClass;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (typeNd = decl->getTypeNode(decl->Type, false))
|
|
|
|
else if ( (typeNd = decl->getTypeNode(decl->Type, false)) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
decl->DeclarationType = ArrayType;
|
|
|
|
decl->DeclarationType = ArrayType;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1512,7 +1512,7 @@ void CClassNode::fillAttributes()
|
|
|
|
CClassNode *classNd = NULL;
|
|
|
|
CClassNode *classNd = NULL;
|
|
|
|
CTypeNode *typeNd = NULL;
|
|
|
|
CTypeNode *typeNd = NULL;
|
|
|
|
|
|
|
|
|
|
|
|
if (classNd = decl->getClassNode(decl->Type, false))
|
|
|
|
if ( (classNd = decl->getClassNode(decl->Type, false)) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (classNd->IsBackReferenced || classNd->ForceReference)
|
|
|
|
if (classNd->IsBackReferenced || classNd->ForceReference)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1535,7 +1535,7 @@ void CClassNode::fillAttributes()
|
|
|
|
decl->DeclarationType = SimpleClass;
|
|
|
|
decl->DeclarationType = SimpleClass;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (typeNd = decl->getTypeNode(decl->Type, false))
|
|
|
|
else if ( (typeNd = decl->getTypeNode(decl->Type, false)) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
decl->IsType = true;
|
|
|
|
decl->IsType = true;
|
|
|
|
|
|
|
|
|
|
|
@ -4707,7 +4707,7 @@ void CLogMsgNode::generateContent()
|
|
|
|
|
|
|
|
|
|
|
|
CTypeNode *tnd;
|
|
|
|
CTypeNode *tnd;
|
|
|
|
CClassNode *cnd;
|
|
|
|
CClassNode *cnd;
|
|
|
|
if (tnd = getTypeNode(type, false))
|
|
|
|
if ( (tnd = getTypeNode(type, false)) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
pair<map<string, CParseNode*>::iterator, bool> res = params.insert(make_pair<string, CParseNode*>(name, tnd));
|
|
|
|
pair<map<string, CParseNode*>::iterator, bool> res = params.insert(make_pair<string, CParseNode*>(name, tnd));
|
|
|
|
if (!res.second)
|
|
|
|
if (!res.second)
|
|
|
@ -4721,7 +4721,7 @@ void CLogMsgNode::generateContent()
|
|
|
|
logfunc.Proto += tnd->getName()+" "+name;
|
|
|
|
logfunc.Proto += tnd->getName()+" "+name;
|
|
|
|
argcall += name;
|
|
|
|
argcall += name;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (cnd = getClassNode(type, false))
|
|
|
|
else if ( (cnd = getClassNode(type, false)) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
pair<map<string, CParseNode*>::iterator, bool> res = params.insert(make_pair<string, CParseNode*>(name, cnd));
|
|
|
|
pair<map<string, CParseNode*>::iterator, bool> res = params.insert(make_pair<string, CParseNode*>(name, cnd));
|
|
|
|
if (!res.second)
|
|
|
|
if (!res.second)
|
|
|
|