Type declarations define new data types and associate a name (an identifier)
with it. The typedef
keyword can be used to name an existing
type. The constructed types struct
, union
and enum
also
name the type they define. The syntax is the following:
(57) type-dcl ::= constructed-type ";" | "typedef" alias-list ";" | "native" identifier ";" | EXCEPTION exception-list ";" | forward-dcl
(58) constructed-type ::= struct-type | union-type | enum-type
(59) alias-list ::= ( type-spec | alias-list "," ) declarator