face-section #7

Merged
sashakoshka merged 12 commits from face-section into main 2022-08-24 04:57:15 +00:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 1f88b54eaa - Show all commits

View File

@ -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)