allow trailing comma in enums