mirror of
https://github.com/irmen/prog8.git
synced 2026-04-21 02:16:41 +00:00
vm: fix postincr/decr on indexed pointervariables
This commit is contained in:
@@ -118,6 +118,9 @@ class PtArrayIndexer(elementType: DataType, position: Position): PtExpression(el
|
||||
val splitWords: Boolean
|
||||
get() = variable.type in SplitWordArrayTypes
|
||||
|
||||
val usesPointerVariable: Boolean
|
||||
get() = variable.type==DataType.UWORD
|
||||
|
||||
init {
|
||||
require(elementType in NumericDatatypes)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user