cleanup error message for currently unsupported deref'd pointer assignments

This commit is contained in:
Irmen de Jong
2025-07-06 14:59:42 +02:00
parent b4e0a2019e
commit 2a4a3b786e
8 changed files with 90 additions and 37 deletions
+3 -2
View File
@@ -61,9 +61,10 @@ 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 support for (assigntarget) array index dereferencing "array[2].value" where array is struct pointers
- try to fix parse error l1^^.s[0] = 4242 (equivalent to l1.s[0]=4242 , which does parse correctly)
- write docs in structpointers.rst
- 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)
- try to fix parse error l1^^.s[0] = 4242 (equivalent to l1.s[0]=4242 , which does parse correctly)
- try to make sizeof(^^type) parse correctly (or maybe replace it immediately with sys.SIZEOF_POINTER)
- add ?. null-propagation operator (for expression and assignment)?
- 6502 codegen: remove checks in checkForPointerTypesOn6502()