parser: First pass at parsing enum declarations.