gm2
[Top][All Lists]
Advanced

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

[Gm2] Re: Comparission bug ?


From: Gaius Mulley
Subject: [Gm2] Re: Comparission bug ?
Date: Wed, 21 Jan 2009 18:11:40 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Iztok Kobal <address@hidden> writes:

> (gm2 on top of gcc-4.1.2)
>
> This should go through, I guess :-\
>
> MODULE test;
>
> TYPE
> Enum = (A, B, C, D);
> Typ = [A..D];
>
> VAR
> typ : Typ;
>
> BEGIN
> IF typ = A THEN
> typ := B;
> END;
> END test.
>
> gm2 -c -I. -fiso test.mod
> test.mod: In function '_M2_test_init':
> test.mod:10: error: invalid operands to binary !=
>
>
> Regards, Iztok

Hi Iztok,

yes it should!  Many thanks for the report and test code..

regards,
Gaius




reply via email to

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