mirror of
https://github.com/irmen/prog8.git
synced 2024-12-22 18:30:01 +00:00
streamline
This commit is contained in:
parent
96b5a30f60
commit
1581381467
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user