Skip to content

Commit 2a4638d

Browse files
Fix #59 (#60)
The structure of `SyntaxSort::FunctionDeclarator` was incomplete. Fixed thusly.
1 parent 6cd6d70 commit 2a4638d

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
@@ -670,14 +670,23 @@ \subsection{\valueTag{SyntaxSort::FunctionDeclarator}}
670670
\DeclareMember{eh\_spec}{SyntaxIndex} \\
671671
\DeclareMember{left\_paren}{SourceLocation} \\
672672
\DeclareMember{right\_paren}{SourceLocation} \\
673+
\DeclareMember{ellipsis}{SourceLocation} \\
674+
\DeclareMember{ref}{SourceLocation} \\
675+
\DeclareMember{traits}{FunctionTypeTraits} \\
673676
}
674677
\label{fig:ifc:SyntaxSort:FunctionDeclarator}
675678
\end{figure}
676679
%
677-
The \field{parameters} denotes the parameter list of the function declarator.
678-
The \field{eh\_spec} field, if non null, denotes the exception specification in the function declarator.
679-
The \field{left\_paren} field denotes the location of the opening parenthesis of this function declarator.
680-
The \field{right\_paren} field denotes the location of the closing parenthesis of this function declarator.
680+
The fields have the following meanings:
681+
\begin{itemize}
682+
\item \field{parameters} denotes the parameter list of the function declarator.
683+
\item \field{eh\_spec}, if non null, denotes the exception specification in the function declarator.
684+
\item \field{left\_paren} denotes the location of the opening parenthesis of this function declarator.
685+
\item \field{right\_paren} denotes the location of the closing parenthesis of this function declarator.
686+
\item \field{ellipsis}, if non null, denotes the source location of \code{...} in the \grammar{parameter-declaration-clause}
687+
\item \field{ref}, if non null, denotes the source location of a \grammar{ref-qualifier}
688+
\item \field{traits} denotes the computed \type{FunctionTypeTraits} (\secref{sec:ifc-function-type-traits}).
689+
\end{itemize}
681690

682691
\partition{syntax.function-declarator}
683692

0 commit comments

Comments
 (0)