From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 216573888C41; Tue, 15 Nov 2022 11:36:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 216573888C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668512194; bh=cCU/nA5RkXXHpps1h2ljfWfllbyHlQGHIuk5qwj/PRE=; h=From:To:Subject:Date:From; b=Ja/mGHlO9LNQ1inslK5QpBbt7+qrCBRMPKtS/r1DpptRuNpJgrqQJn9j2B+2qRNNs fAd4TwC4ngFwQE2dF1ba4b2DMx1oQ7Xtp2C4ReotUJYM7dAW8Trw8l/SaFEUcHXi01 Pav9dzIEB8XyDEuk9lpzuqvNtj0pPAt8hFR455qE= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4055] doc: Format region pragmas as separate items X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: dd320623acb2d51745406bf1acac4a5fcfcbe13f X-Git-Newrev: f5f2686b2cbfddba39035312e8f7704d4d822e89 Message-Id: <20221115113634.216573888C41@sourceware.org> Date: Tue, 15 Nov 2022 11:36:34 +0000 (GMT) List-Id: https://gcc.gnu.org/g:f5f2686b2cbfddba39035312e8f7704d4d822e89 commit r13-4055-gf5f2686b2cbfddba39035312e8f7704d4d822e89 Author: Jonathan Wakely 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