Reference Guide: explicit indices in enumeration type definitions requires Delphi-style `=` in Delphi modes
Original Reporter info from Mantis: kays @KaiBurghardt
-
Reporter name: Kai Burghardt
Original Reporter info from Mantis: kays @KaiBurghardt
- Reporter name: Kai Burghardt
Description:
When specifying explicit indices for enumeration type members, :=
is not allowed, but only =
.
Steps to reproduce:
This fails:
{$mode Delphi}
type
number = (zero := 0);
You have to use a plain =
Additional information:
See also #37444 (closed)
Mantis conversion info:
- Mantis ID: 37865
- OS: GNU/Linux
- OS Build: 4.2.0
- Build: 3.2.0+dfsg-7 [2020/08/21]
- Platform: x86_64
- Version: 3.2.0
- Fixed in version: 3.3.1
- Fixed in revision: 1757 (#0c41c405).
- Target version: 3.2.2