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:
parent
046597e9a0
commit
7ac86b97b5
@ -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") {
|
||||
|
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user