Re: Compiler problem

Alan Freed (al@sarah.lerc.nasa.gov)
Mon, 19 Aug 1996 08:16:01 -0400

At 10:40 PM 8/18/96 PDT, you wrote:
>Hi all,
>The following program puts my compiler into an endless loop:
>=========================================================
>MODULE PrivColorTest;
> IMPORT Ports, Out;
>
> PROCEDURE OutColor* (c: Ports.Color);
> BEGIN
> CASE c OF
> Ports.black: Out.String("black")|
> Ports.red: Out.String("red")|
> Ports.green: Out.String("green")|
> Ports.blue: Out.String("blue")
> ELSE
> Out.String("other")
> END
> END OutColor;
>
>END PrivColorTest.
>=========================================================
>but it will compile ok if I omit the last (blue) case. I
>am using version 1.2.1 on a PowerMac. Can someone test
>whether it gives the compiler problems on your system?

I observe the same behavior. I am using vs 1.2.1, too,
but under Windows NT. Did you notice the *size* of your
Code file, it's HUGE for the size of this module. Mine
was about 264k when the line
Porst.blue: Out.String("blue")
was removed. Interesting!

All the best,
______________________________________________________________
| |
| Alan D. Freed Computational Materials Laboratory, MS 105-1 |
| Email: al@sarah.lerc.nasa.gov NASA Lewis Research Center |
| http://sarah.lerc.nasa.gov/~al 21000 Brookpark Road |
/) Tel: (216) 433-8747 Cleveland, OH 44135-3191 (\
/ ) Fax: (216) 433-5033 The United States ( \
_( (|_______________________________________________________________) )_
(((\ \) /,) / ) / /)))
(\\\\ \_/ / \ \_/ ////)
\ / \ /
\ _/ \_ /
----/ /------------------------------------------------------------\ \----
/ / \ \