Parse-attribute-specifier
Parse an attribute specifier.
- Signature
(parse-attribute-specifier uscores first-span parstate)
→
(mv erp attrspec span new-parstate)
- Arguments
- uscores — Guard (booleanp uscores).
- first-span — Guard (spanp first-span).
- parstate — Guard (parstatep parstate).
- Returns
- attrspec — Type (attrib-specp attrspec).
- span — Type (spanp span).
- new-parstate — Type (parstatep new-parstate), given (parstatep parstate).
This is only used if GCC extensions are supported.
See the ABNF grammar rule for attribute-specifier.
This is called after parsing the initial __attribute__,
whose span we pass to this parsing function as input.