Skip to content

version 12.3.5

Latest

Choose a tag to compare

@irmen irmen released this 29 Oct 19:19

prog8 version 12.3.5 - last version 12 release

This is a bug-fix release of prog8 version 12, and it will be the last one in this chain.
At the time of creating this release, the next new prog8 compiler version will be version 14 which is currently actively being developed and is already in beta https://github.com/irmen/prog8/releases/tag/v14.0-BETA3

New features in 12.3.5

  • alias now works for whole blocks: call subroutines (incl. nested), read constants, and access array/struct members through a block alias. A whole enum can no longer be aliased (alias its members individually).

Bugfixes

  • No more compiler crash when not is combined with and/or in one expression (hardened AstWalker against detached-subtree modifications).
  • min/max no longer produce wrong results when the assignment target aliases an operand, e.g. speed = min(err / 8, speed) (issue #247).
  • 6502: bare typed-pointer deref (temp^^) no longer corrupts the pointer variable itself; also fixes double deref of pointer-to-pointer struct fields (foo.bar.baz^^).
  • Builtins lsb/msb/lsw/msw/pop/popw no longer reject a CX16 virtual register (e.g. @r0) as result register.
  • Virtual target: wrong results for short-circuit boolean and/or; popw/popl/popf reported a byte result type; byte downto 0 for-loops hung.