Fixed a regression in the new parser causing a crash on enums with empty names.