mirror of
https://github.com/KarolS/millfork.git
synced 2025-03-18 18:29:29 +00:00
Allow sizeof in assembly
This commit is contained in:
parent
3e33660c2e
commit
655edc35ff
@ -992,6 +992,8 @@ class Environment(val parent: Option[Environment], val prefix: String, val cpuFa
|
||||
case "nonet" | "sin" | "cos" | "tan" =>
|
||||
log.error("Function not supported in inline assembly", e.position)
|
||||
None
|
||||
case "sizeof" =>
|
||||
Some(evalSizeof(params.head))
|
||||
case _ =>
|
||||
None
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user