properly parse enum comments