Do not forget to add created types

This commit is contained in:
Cédric Pasteur 2010-07-20 09:17:19 +02:00
parent 4edc03c163
commit e57c663f43

View file

@ -170,3 +170,4 @@ let program p =
with eq = eq; block = block; node_dec = node_dec } in
let p, _ = Hept_mapfold.program_it funs ([],[]) p in
p
{ p with p_types = !state_type_dec_list @ p.p_types }