1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-10-03 20:55:36 +00:00

Fix stack overflow

This commit is contained in:
Karol Stasiak 2019-04-17 23:04:46 +02:00
parent e771b37db2
commit 4504556d3c

View File

@ -246,7 +246,7 @@ class Environment(val parent: Option[Environment], val prefix: String, val cpuFa
e.things -= str.stripPrefix(prefix) + ".rawaddr"
e.things -= str.stripPrefix(prefix) + ".rawaddr.lo"
e.things -= str.stripPrefix(prefix) + ".rawaddr.hi"
parent.foreach(x => removeVariableImpl2(x,str))
e.parent.foreach(x => removeVariableImpl2(x,str))
}
removeVariableImpl2(this, prefix + localVarToRelativize)
val namePrefix = concreteGlobalTarget + '.'