parser: handle missing enum impl type properly