Waldek Hebisch wrote:
Frank Heckenbach wrote:
I have uploaded a new beta version of GPC to <http://www.g-n-u.de/gpc/>! <snip> Bugfixes:
* records with no fields are invalid according to EP (fjf972.pas)
IMHO records with no fields are valid in EP (so fjf972.pas is valid in EP mode). Namely, in 6.4.3.4 (at the end of page 32) we have:
A field-list containing neither a fixed-part nor a variant-part shall have no components, shall determine a single value-bearing state bearing a null value, shall be designated empty, and shall denote the totally-undefined initial state.
I take it as an explicit permission to have empty records.
You're right, I misread it. I'll undo the change. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html NEW! GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8