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