gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Fwd: CASE: gm2-4.1.2 of 2011-11-08 bug (or possibly philosophi


From: Gaius Mulley
Subject: Re: [Gm2] Fwd: CASE: gm2-4.1.2 of 2011-11-08 bug (or possibly philosophical difference)
Date: Wed, 16 Nov 2011 10:43:35 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

"Fischlin  Andreas" <address@hidden> writes:

> for all what I know above is illegal, a plain syntax error (multiple defined 
> cases). Perhaps what is intended should be defined similar to this
>
> MODULE TstCase;
>
>   TYPE
>     Mystruct = RECORD
>                 CASE c:CARDINAL OF
>                  0,2: x: INTEGER;  |
>                  1,3..4: y: CARDINAL; |
>                 END;
>                 END(*RECORD*);
>                 
>   VAR
>     x: Mystruct;

Hi Andreas,

just to confirm that this code compiles cleanly with gm2,

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]