1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-05 09:28:54 +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") {

View File

@ -13,7 +13,7 @@ object ErrorReporting {
def info(msg: String, position: Option[Position] = None): Unit = {
if (verbosity < 0) return
println("INFO: " + f(position) + msg)
println("INFO: " + f(position) + msg)
flushOutput()
}