From 9fbe1b38a5c676cce683c6331a72e3b5e26bcfc3 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Tue, 1 Jun 2021 22:08:23 +0200 Subject: [PATCH] fix old block syntax in ast print routine --- compilerAst/src/prog8/ast/AstToSourceCode.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compilerAst/src/prog8/ast/AstToSourceCode.kt b/compilerAst/src/prog8/ast/AstToSourceCode.kt index ca4dae435..dd70c53bc 100644 --- a/compilerAst/src/prog8/ast/AstToSourceCode.kt +++ b/compilerAst/src/prog8/ast/AstToSourceCode.kt @@ -33,7 +33,7 @@ class AstToSourceCode(val output: (text: String) -> Unit, val program: Program): override fun visit(block: Block) { val addr = if(block.address!=null) block.address.toHex() else "" - outputln("~ ${block.name} $addr {") + outputln("${block.name} $addr {") scopelevel++ for(stmt in block.statements) { outputi("")