mirror of
https://github.com/irmen/prog8.git
synced 2026-04-19 20:16:51 +00:00
in a block marked option force_output, make all subroutines in asm use .block rather than .proc
this fixes some obscure assembly issues where subroutines were omitted from the output program by 64tass
This commit is contained in:
@@ -856,7 +856,7 @@ internal class ExpressionGen(private val codeGen: CodeGen) {
|
||||
return code
|
||||
}
|
||||
is StRomSub -> {
|
||||
TODO("call romsub $fcall")
|
||||
throw AssemblyError("virtual machine doesn't yet support calling romsub $fcall")
|
||||
}
|
||||
else -> throw AssemblyError("invalid node type")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user