remove the -dontsplitarrays compiler option

it was still there for backward compatibility reasons with really old prog8 code. If you need a word array to be not split, just use @nosplit on the array.
This commit is contained in:
Irmen de Jong
2025-10-05 14:44:17 +02:00
parent 4195e3968a
commit 3e1386a987
12 changed files with 13 additions and 51 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ So the syntax for declaring typed pointers looks like this:
``^^type[size]``: array with size size containing pointers to a type.
So for example; ``^^word[100] values`` declares values to be an array of 100 pointers to words.
Note that an array of pointers (regardless of the type they point to) is always a @split word array at this time.
Note that an array of pointers (regardless of the type they point to) is always a split word array.
(this is the most efficient way to access the pointers, and they need to be copied to zeropage first to
be able to use them anyway. It also allows for arrays of up to 256 pointers instead of 128.)