From d1fbf863bfafbccebf80fff7ff9c48ccecb3fafb Mon Sep 17 00:00:00 2001 From: Alisdair Meredith Date: Wed, 8 Jan 2025 16:30:49 -0500 Subject: [PATCH] [cassert.syn] Better index the macro in this header --- source/diagnostics.tex | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/diagnostics.tex b/source/diagnostics.tex index c9c2cbfb03..6d9ff60a47 100644 --- a/source/diagnostics.tex +++ b/source/diagnostics.tex @@ -456,9 +456,8 @@ \rSec2[cassert.syn]{Header \tcode{} synopsis} -\indexlibraryglobal{assert}% \begin{codeblock} -#define assert(...) @\seebelow@ +#define @\libmacro{assert}@(...) @\seebelow@ \end{codeblock} \rSec2[assertions.assert]{The \tcode{assert} macro} @@ -468,11 +467,11 @@ at the point in the source file where \tcode{} is included, the \tcode{assert} macro is defined as \begin{codeblock} -#define assert(...) ((void)0) +#define @\libmacro{assert}@(...) ((void)0) \end{codeblock} \pnum -Otherwise, the \tcode{assert} macro puts a diagnostic test into programs; +Otherwise, the \libmacro{assert} macro puts a diagnostic test into programs; it expands to an expression of type \keyword{void} which has the following effects: