Hi Chris,

The following patch to static.c ought to fix your import problems.

diff -r1.23 -r1.26
6c6
<  * Hugs version 1.4, June 1997
---
>  * Hugs version 1.4, July 1997
9,10c9,10
<  * $Revision: 1.23 $
<  * $Date: 1997/06/12 18:48:37 $
---
>  * $Revision: 1.26 $
>  * $Date: 1997/07/18 18:24:49 $
327c327
<           if (name(e).text == t) {
---
>           if (isIdent(entity) && name(e).text == t) {
578,579c578,580
<                   checkSubentities(NIL,parts,tycon(nm).defn,
<                                    "constructor of type",tycon(nm).text);
---
>                   exports = checkSubentities(exports,parts,tycon(nm).defn,
>                                              "constructor of type",
>                                              tycon(nm).text);
589,590c590,591
<               checkSubentities(NIL,parts,cclass(nm).members,
<                                "member of class",cclass(nm).text);
---
>               exports = checkSubentities(exports,parts,cclass(nm).members,
>                                          "member of class",cclass(nm).text);

Alastair

Reply via email to