mirror of
https://github.com/irmen/prog8.git
synced 2026-11-22 19:24:41 +00:00
Allow `Point p` declarations with direct field access, initialization and whole-struct copy (`q = p` lowers to sys.memcopy) on 32-bit and virtual targets. 6502 targets reject with a clear error and keep using pointers or arrays of struct instances. Direct variables are represented as StStructInstance nodes with static storage; field access resolves via PtrDereference and address-of/field addresses use the struct-instances symbol labels. Adds array-literal-to- struct-initializer lowering and avoids false frame-address-escape warnings.