Skip to content

Commit 1028cf7

Browse files
committed
FIXUP: Use \keyword instead of \tcode for "sizeof" in example's comment.
1 parent 8b1bd98 commit 1028cf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/declarations.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2435,8 +2435,8 @@
24352435

24362436
typedef struct BB { int C[2]; } *B, C;
24372437
void g() {
2438-
sizeof(B()->C[1]); // OK, \tcode{sizeof(}expression\tcode{)}
2439-
sizeof(auto()->C[1]); // error: \tcode{sizeof} of a function returning an array
2438+
sizeof(B()->C[1]); // OK, \tcode{\keyword{sizeof}(}expression\tcode{)}
2439+
sizeof(auto()->C[1]); // error: \keyword{sizeof} of a function returning an array
24402440
}
24412441
\end{codeblock}
24422442
\end{example}

0 commit comments

Comments
 (0)