Print-declon
Print a declaration.
- Signature
(print-declon declon inlinep pstate) → new-pstate
- Arguments
- declon — Guard (declonp declon).
- inlinep — Guard (booleanp inlinep).
- pstate — Guard (pristatep pstate).
- Returns
- new-pstate — Type (pristatep new-pstate).
The inlinep flag says whether the declaration should be printed
as part of the current line or as its own indented line.
This flag is passed to print-decl-spec-list,
so that structure or union specifiers with members
are printed on multiple lines
(and thus, the declaration is printed on multiple lines),
as idiomatic.
We ensure that there is at least one declaration specifier,
as required by the grammar.