Altered enum visitor so structs/unions can be parsed