streamline

This commit is contained in:
Irmen de Jong 2024-02-20 23:35:04 +01:00
parent 96b5a30f60
commit 1581381467

View File

@ -126,7 +126,7 @@ fun printAst(root: PtNode, skipLibraries: Boolean, output: (text: String) -> Uni
else
str
}
is PtNodeGroup -> "<group>"
is PtNodeGroup -> if(node.children.isNotEmpty()) "<group>" else ""
is PtNop -> "nop"
is PtProgram -> "PROGRAM ${node.name}"
is PtRepeatLoop -> "repeat"