Skip to content

Commit 265c76e

Browse files
Fix #59 (#60)
The structure of `SyntaxSort::FunctionDeclarator` was incomplete. Fixed thusly.
1 parent 91985de commit 265c76e

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

ltx/parse.tex

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -692,14 +692,23 @@ \subsection{\valueTag{SyntaxSort::FunctionDeclarator}}
692692
\DeclareMember{eh\_spec}{SyntaxIndex} \\
693693
\DeclareMember{left\_paren}{SourceLocation} \\
694694
\DeclareMember{right\_paren}{SourceLocation} \\
695+
\DeclareMember{ellipsis}{SourceLocation} \\
696+
\DeclareMember{ref}{SourceLocation} \\
697+
\DeclareMember{traits}{FunctionTypeTraits} \\
695698
}
696699
\label{fig:ifc:SyntaxSort:FunctionDeclarator}
697700
\end{figure}
698701
%
699-
The \field{parameters} denotes the parameter list of the function declarator.
700-
The \field{eh\_spec} field, if non null, denotes the exception specification in the function declarator.
701-
The \field{left\_paren} field denotes the location of the opening parenthesis of this function declarator.
702-
The \field{right\_paren} field denotes the location of the closing parenthesis of this function declarator.
702+
The fields have the following meanings:
703+
\begin{itemize}
704+
\item \field{parameters} denotes the parameter list of the function declarator.
705+
\item \field{eh\_spec}, if non null, denotes the exception specification in the function declarator.
706+
\item \field{left\_paren} denotes the location of the opening parenthesis of this function declarator.
707+
\item \field{right\_paren} denotes the location of the closing parenthesis of this function declarator.
708+
\item \field{ellipsis}, if non null, denotes the source location of \code{...} in the \grammar{parameter-declaration-clause}
709+
\item \field{ref}, if non null, denotes the source location of a \grammar{ref-qualifier}
710+
\item \field{traits} denotes the computed \type{FunctionTypeTraits} (\secref{sec:ifc-function-type-traits}).
711+
\end{itemize}
703712

704713
\partition{syntax.function-declarator}
705714

0 commit comments

Comments
 (0)