Move type registration out of construct_vhdl_ty.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Sun, 21 Jun 2009 17:56:25 +0000 (19:56 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Sun, 21 Jun 2009 17:56:25 +0000 (19:56 +0200)
commite03f02c419b4365d498c25dfbc861215394046df
tree307823f451f6f11e37d30705b5c89da5a862922d
parent387569c4f69c310fc8832a29dfa50652ce504f7d
Move type registration out of construct_vhdl_ty.

construct_vhdl_ty now only creates the type and does not register it in
the session. Additionally, we save only the TypeDef in the session instead
of the TypeDec, since the latter contains the VHDLId which we also store
separately. This means we'll create the TypeDecs later, when outputint the
types VHDL package.
VHDL.hs
VHDLTypes.hs