[cvs-nhc98] Add the correct aux information to fieldnames in datatype

Malcolm Wallace malcolm@sparud.net
Fri, 20 Dec 2002 17:26:08 +0100 (CET)


malcolm: Fri Dec 20 17:26:08 CET 2002

Update of /usr/src/master/nhc/src/hat/trans
In directory hinken:/tmp/cvs-serv23875

Modified Files:
	AuxLabelAST.hs 
Log Message:
Add the correct aux information to fieldnames in datatype declarations
during the syntax-tree re-labelling phase.  Previously, we treated
fieldnames as lambda-bound variables, but they are really let-bound.
This additionally meant that the wrong arity was appearing for
fieldnames in the info tables generated by hat-trans.