fix pointer test

This commit is contained in:
Irmen de Jong
2025-07-07 23:09:45 +02:00
parent 9f6106452e
commit 9c63ef39c7
3 changed files with 36 additions and 116 deletions
-3
View File
@@ -62,10 +62,7 @@ STRUCTS and TYPED POINTERS
- DONE: added peekbool() and pokebool() and pokebowl() boolean peek and poke, the latter is equivalent to pokebool()
- DONE: fixed support for (expression) array index dereferencing "array[2]^^" where array contains pointers to primitives: replace with peek()
- DONE: fixed support for (assigntarget) array index dereferencing "array[2]^^" where array contains pointers to primitives: replace with poke()
- fix ^^bool[] ptr in sub params
- ^^bool[3] ptr in sub param should give proper error for the array size that is not allowed there? or can we actually use it?
- write docs in structpointers.rst
- scan through virtual examples to change untyped uword pointers to typed pointers
- scan through virtual library modules to change untyped uword pointers to typed pointers
- add support for array index dereferencing as assign target "array[2]^^.value = 99" where array is struct pointers (currently a 'no support' error)
- add support for array index dereferencing as assign target "array[2].value = 99" where array is struct pointers (currently a parser error)