added pretty print support for enumdecl