Parse-struct-or-union-specifier
Parse or structure or union specifier.
- Signature
(parse-struct-or-union-specifier pstate)
→
(mv erp strunispec span new-pstate)
- Arguments
- pstate — Guard (parstatep pstate).
- Returns
- strunispec — Type (strunispecp strunispec).
- span — Type (spanp span).
- new-pstate — Type (parstatep new-pstate).
This is called after parsing
the initial struct or union keyword.
The returned strunispec value captures
the structure or union specifier without the indication of
whether it is a structure or a union,
which is done in type-spec instead;
this is how we have factored our abstract syntax.