doc: Format region pragmas as separate items
authorJonathan Wakely <jwakely@redhat.com>
Mon, 14 Nov 2022 09:19:13 +0000 (09:19 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 15 Nov 2022 11:35:52 +0000 (11:35 +0000)
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.

gcc/doc/cpp.texi

index 1be29eb..5e86a95 100644 (file)
@@ -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