mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed null check for mAttributeTypeRef
This commit is contained in:
parent
3d3cde906b
commit
fb96595ac3
1 changed files with 23 additions and 20 deletions
|
@ -4280,6 +4280,8 @@ void BfCompiler::GetSymbolReferences()
|
||||||
return;
|
return;
|
||||||
|
|
||||||
while (attrib != NULL)
|
while (attrib != NULL)
|
||||||
|
{
|
||||||
|
if (attrib->mAttributeTypeRef != NULL)
|
||||||
{
|
{
|
||||||
String attrName = attrib->mAttributeTypeRef->ToString();
|
String attrName = attrib->mAttributeTypeRef->ToString();
|
||||||
BfType* attrType = NULL;
|
BfType* attrType = NULL;
|
||||||
|
@ -4311,6 +4313,7 @@ void BfCompiler::GetSymbolReferences()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
attrib = attrib->mNextAttribute;
|
attrib = attrib->mNextAttribute;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue