cvs commit: hugs98/src type.c

Alastair Reid reid@glass.cse.ogi.edu
Tue, 12 Dec 2000 23:55:34 -0800


reid        2000/12/12 23:55:34 PST

  Modified files:
    src                  type.c 
  Log:
  [Copied a trick I used in STG-Hugs back into Classic Hugs.]
  
  Added link{Name,Class,Tycon} which looks up a string and
  reports an error if it doesn't find it.  Used for finding
  builtin constructors, classes, etc. in the typechecker.
  
  This change makes the code more readable, more robust, shorter and
  gives better error messages.  Win, win, win, win.
  
  Revision  Changes    Path
  1.26      +87 -112   hugs98/src/type.c