Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!dali.cs.montana.edu!ogicse!zephyr.ens.tek.com!tektronix!nosun!qiclab!m2xenix!puddle!f11.n492.z5.fidonet.org!Pieter.Muller From: Pieter.Muller@f11.n492.z5.fidonet.org (Pieter Muller) Newsgroups: comp.lang.modula2 Subject: Empty RECORDs Message-ID: <1579.27521E2C@puddle.fidonet.org> Date: 26 Nov 90 21:56:00 GMT Sender: ufgate@puddle.fidonet.org (newsout1.26) Organization: FidoNet node 5:492/11 - Binkley's Closet, Stellenbosch RSA Lines: 16 I recently used an empty RECORD definition in a Modula-2 program. Then the JPI Modula-2 1.17 compiler started giving me spurious "Record too large" errors. The compiler accepted the syntax of the definition. Looking at the grammar in my PIM2, it seems that empty records are allowed, because the "FieldList" non-terminal can be empty. Is this a bug in the JPI compiler? -- Pieter -- uucp: uunet!m2xenix!puddle!5!492!11!Pieter.Muller Internet: Pieter.Muller@f11.n492.z5.fidonet.org