fix compiler animtree bug

This commit is contained in:
xensik
2022-10-04 22:35:56 +02:00
parent ebafbf5c31
commit b0ed15dc6c
13 changed files with 25 additions and 30 deletions

View File

@ -1297,12 +1297,7 @@ auto program::print() const -> std::string
for (const auto& entry : declarations)
{
if (entry == kind::decl_thread)
{
data += "\n";
}
data += entry.print();
data += "\n" + entry.print();
}
return data;