mirror of
https://github.com/irmen/prog8.git
synced 2025-09-25 08:25:32 +00:00
cleanup RTS insertion and ast postprocessing before assembly generation
This commit is contained in:
@@ -77,7 +77,7 @@ main {
|
||||
}"""
|
||||
val result = compileText(Cx16Target(), false, src, outputDir, writeAssembly = false)
|
||||
val statements = result!!.compilerAst.entrypoint.statements
|
||||
statements.size shouldBe 7
|
||||
statements.size shouldBe 8
|
||||
val a1 = statements[2] as Assignment
|
||||
val a2 = statements[3] as Assignment
|
||||
val a3 = statements[4] as Assignment
|
||||
|
Reference in New Issue
Block a user