Face sections are actually ToString'd now

pull/7/head
Sasha Koshka 5 months ago
parent b0d4ecc83f
commit 1f88b54eaa

@ -61,6 +61,11 @@ func (tree *SyntaxTree) ToString (indent int) (output string) {
output += tree.enumSections[name].ToString(indent)
}
faceSectionKeys := sortMapKeysAlphabetically(tree.faceSections)
for _, name := range faceSectionKeys {
output += tree.faceSections[name].ToString(indent)
}
dataSectionKeys := sortMapKeysAlphabetically(tree.dataSections)
for _, name := range dataSectionKeys {
output += tree.dataSections[name].ToString(indent)