Print-dirdeclor
Print a direct declarator.
- Signature
(print-dirdeclor dirdeclor pstate) → new-pstate
- Arguments
- dirdeclor — Guard (dirdeclorp dirdeclor).
- pstate — Guard (pristatep pstate).
- Returns
- new-pstate — Type (pristatep new-pstate).
For the :array-static2 case,
we ensure that the list of type qualifiers is not empty,
as required in the grammar.
For the :function-params case,
we ensure that the list of parameter declarations is not empty,
as required in the grammar.