- fixed: The message for invalid class extensions did not pass the class name to the error function.

This commit is contained in:
Christoph Oelckers 2016-12-10 10:22:13 +01:00
commit a7c80ae858
2 changed files with 5 additions and 6 deletions

View file

@ -74,7 +74,7 @@ void ZCCCompiler::ProcessClass(ZCC_Class *cnode, PSymbolTreeNode *treenode)
}
if (cls == nullptr)
{
Error(cnode, "Class %s cannot be found in the current translation unit.");
Error(cnode, "Class %s cannot be found in the current translation unit.", FName(cnode->NodeName).GetChars());
return;
}
}