Valid-statassert
Validate a static assertion declaration.
- Signature
(valid-statassert statassert table ienv)
→
(mv erp new-statassert return-types new-table)
- Arguments
- statassert — Guard (statassertp statassert).
- table — Guard (valid-tablep table).
- ienv — Guard (ienvp ienv).
- Returns
- new-statassert — Type (statassertp new-statassert).
- return-types — Type (type-setp return-types).
- new-table — Type (valid-tablep new-table).
We validate the constant expression, which must be integer [C:6.7.10/3],
and we validate the string literal(s).