mirror of
https://github.com/irmen/prog8.git
synced 2024-11-29 17:50:35 +00:00
fix old block syntax in ast print routine
This commit is contained in:
parent
078485134d
commit
9fbe1b38a5
@ -33,7 +33,7 @@ class AstToSourceCode(val output: (text: String) -> Unit, val program: Program):
|
|||||||
|
|
||||||
override fun visit(block: Block) {
|
override fun visit(block: Block) {
|
||||||
val addr = if(block.address!=null) block.address.toHex() else ""
|
val addr = if(block.address!=null) block.address.toHex() else ""
|
||||||
outputln("~ ${block.name} $addr {")
|
outputln("${block.name} $addr {")
|
||||||
scopelevel++
|
scopelevel++
|
||||||
for(stmt in block.statements) {
|
for(stmt in block.statements) {
|
||||||
outputi("")
|
outputi("")
|
||||||
|
Loading…
Reference in New Issue
Block a user