public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4055] doc: Format region pragmas as separate items
@ 2022-11-15 11:36 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-11-15 11:36 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f5f2686b2cbfddba39035312e8f7704d4d822e89
commit r13-4055-gf5f2686b2cbfddba39035312e8f7704d4d822e89
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Nov 14 09:19:13 2022 +0000
doc: Format region pragmas as separate items
This seems consistent with how other paired pragmas are documented in
texinfo, e.g. push_options and pop_options.
gcc/ChangeLog:
* doc/cpp.texi (Pragmas): Use @item and @itemx for region
pragmas.
Diff:
---
gcc/doc/cpp.texi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index 1be29eb605e..5e86a957a88 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -3843,7 +3843,8 @@ file will never be read again, no matter what. It is a less-portable
alternative to using @samp{#ifndef} to guard the contents of header files
against multiple inclusions.
-@code{#pragma region @{tokens@}...}, @code{#pragma endregion @{tokens@}...}
+@item #pragma region @{tokens@}...
+@itemx #pragma endregion @{tokens@}...
These pragmas are accepted, but have no effect.
@end ftable
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-15 11:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-15 11:36 [gcc r13-4055] doc: Format region pragmas as separate items Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).