Skip to content

Commit a8b3d85

Browse files
Eelistkoeppe
authored andcommitted
[dcl.fct.def.general] Typeset placeholder consistently. (#1760)
Also change \grammarterm to \placeholder, because function-name is not a grammar term.
1 parent 4a5ff4e commit a8b3d85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/declarators.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,9 +2076,9 @@
20762076
The function-local predefined variable \tcode{__func__} is
20772077
defined as if a definition of the form
20782078
\begin{codeblock}
2079-
static const char __func__[] = "@\grammarterm{function-name}@";
2079+
static const char __func__[] = "@\placeholder{function-name}@";
20802080
\end{codeblock}
2081-
had been provided, where \grammarterm{function-name} is an \impldef{string resulting
2081+
had been provided, where \tcode{\placeholder{function-name}} is an \impldef{string resulting
20822082
from \mname{func}} string.
20832083
It is unspecified whether such a variable has an address
20842084
distinct from that of any other object in the program.\footnote{Implementations are

0 commit comments

Comments
 (0)