missing braces

Sigbjorn Finne sof@galois.com
Tue, 12 Feb 2002 07:01:10 -0800


Thanks, looks as if it was written by a Haskell programmer
that expected the layout rule to apply ;-) Fortunately the bug
didn't do any harm here..

--sigbjorn

----- Original Message -----
From: "Ross Paterson" <ross@soi.city.ac.uk>
To: <hugs-bugs@haskell.org>
Sent: Tuesday, February 12, 2002 02:37
Subject: missing braces


> >From hugs.c:
>
> static Void local addScriptName(s,sch)  /* Add script to list of scripts
*/
> String s;                               /* to be read in ...
*/
> Bool   sch; {                           /* TRUE => requires pathname
search*/
>     if (namesUpto>=NUM_SCRIPTS) {
>         ERRMSG(0) "Too many module files (maximum of %d allowed)",
>                   NUM_SCRIPTS
>         EEND;
>     }
>     else
>         scriptName[namesUpto] = strCopy(sch ? findPathname(NULL,s) : s);
>         scriptReal[namesUpto] = strCopy(RealPath(scriptName[namesUpto]));
>         namesUpto++;
> }
> _______________________________________________
> Hugs-Bugs mailing list
> Hugs-Bugs@haskell.org
> http://www.haskell.org/mailman/listinfo/hugs-bugs