Parse-struct-or-union-specifier
Parse or structure or union specifier.
- Signature
(parse-struct-or-union-specifier parstate)
→
(mv erp strunispec span new-parstate)
- Arguments
- parstate — Guard (parstatep parstate).
- Returns
- strunispec — Type (strunispecp strunispec).
- span — Type (spanp span).
- new-parstate — Type (parstatep new-parstate), given (parstatep parstate).
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.