[comp.lang.modula2] EMPTY RECORDS

Pieter.Muller@f11.n492.z5.fidonet.org (Pieter Muller) (11/27/90)

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

Frank.Warren@f42.n161.z1.fidonet.org (Frank Warren) (12/03/90)

   It probably is a bug.  JPI 1.17 was a nice beastie but varied a good
deal from the rest of the world.  Such an oversight is among the 
surprises one gets.  And of course it is not supported anymore.

--  
uucp: uunet!m2xenix!puddle!161!42!Frank.Warren
Internet: Frank.Warren@f42.n161.z1.fidonet.org