1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-09-10 11:54:30 +00:00

Cosmetic fixes for messages

This commit is contained in:
Karol Stasiak 2018-03-18 23:54:48 +01:00
parent 046597e9a0
commit 7ac86b97b5
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ object ReturnDispatch {
var default = Option.empty[(Constant, List[Constant])]
stmt.branches.foreach { branch =>
val function = ctx.env.evalForAsm(branch.function).getOrElse {
ErrorReporting.error("Non-constant function address for dispatch branch", branch.function.position)
ErrorReporting.error("Undefined function or Non-constant function address for dispatch branch", branch.function.position)
Constant.Zero
}
if (returnType.name != "void") {