cvs commit: hugs98/src static.c

Sigbjorn Finne sof@glass.cse.ogi.edu
Wed, 11 Sep 2002 16:48:52 -0700


sof         2002/09/11 16:48:52 PDT

  Modified files:
    src                  static.c 
  Log:
  - checkExport(): data constructors cannot appear as orphans in
    export lists, so don't check for this. The test that was here
    was in fact directly harmful, as it caused type synonyms to
    be exported like a data con. Leave behind a comment explaining
    the deal, should exportation of dcons be supported sometime in
    the future (not likely, but still.)
  - express mergeImportLists() in terms of addEntityPair(), allowing
    us to delete some code for once.
  
  Revision  Changes    Path
  1.92      +18 -70    hugs98/src/static.c