mirror of
https://github.com/KarolS/millfork.git
synced 2026-04-20 18:16:35 +00:00
Extra message if a constant is not yet constant
This commit is contained in:
@@ -36,6 +36,7 @@ class Environment(val parent: Option[Environment], val prefix: String, val cpuFa
|
||||
|
||||
def errorConstant(msg: String, position: Option[Position] = None): Constant = {
|
||||
log.error(msg, position)
|
||||
log.info("Did you forget to import an appropriate module?")
|
||||
Constant.Zero
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user