Parse-enum-specifier
Parse an enumeration specifier.
- Signature
(parse-enum-specifier first-span parstate)
→
(mv erp enumspec span new-parstate)
- Arguments
- first-span — Guard (spanp first-span).
- parstate — Guard (parstatep parstate).
- Returns
- enumspec — Type (enumspecp enumspec).
- span — Type (spanp span).
- new-parstate — Type (parstatep new-parstate), given (parstatep parstate).
This is called after parsing the initial enum keyword.
The span of the enum keyword is passed as input here.