diff --git a/source/declarations.tex b/source/declarations.tex index d3821debca..80d34f0cfc 100644 --- a/source/declarations.tex +++ b/source/declarations.tex @@ -249,7 +249,9 @@ \pnum If the \grammarterm{decl-specifier-seq} contains the \keyword{typedef} -specifier, the declaration is a \defnx{typedef declaration}{declaration!\idxcode{typedef}} +specifier, the declaration is a +\indextext{typedef declaration|see{declaration, \idxcode{typedef}}} +\defnx{typedef declaration}{declaration!\idxcode{typedef}} and each \grammarterm{declarator-id} is declared to be a \grammarterm{typedef-name}\iref{dcl.typedef}. \begin{note} @@ -258,10 +260,10 @@ \end{note} Otherwise, if the type associated with a \grammarterm{declarator-id} is a function type\iref{dcl.fct}, -the declaration is a \defnx{function declaration}{declaration!function}. +the declaration is a \defnadj{function}{declaration}. Otherwise, if the type associated with a \grammarterm{declarator-id} is an object or reference type, the declaration is -an \defnx{object declaration}{declaration!object}. +an \defnadj{object}{declaration}. Otherwise, the program is ill-formed. \begin{example} \begin{codeblock}