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