public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-8135] docs: fix content of smallexample
@ 2021-04-12 14:14 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-04-12 14:14 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8f17d44ad986e0ae7e81c81179463000ee9d7f43

commit r11-8135-g8f17d44ad986e0ae7e81c81179463000ee9d7f43
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Apr 12 16:13:50 2021 +0200

    docs: fix content of smallexample
    
    gcc/ChangeLog:
    
            * doc/extend.texi: Escape @smallexample content.

Diff:
---
 gcc/doc/extend.texi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 6542ada6583..1ddafb3ff2c 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3867,11 +3867,11 @@ be used:
 @smallexample
 __attribute__ ((__symver__ ("foo@@VERS_2")))
 int foo_v1 (void)
-{
+@{
   return 0;
-}
+@}
 
-__attribute__ ((__symver__ ("foo@VERS_3")))
+__attribute__ ((__symver__ ("foo@@VERS_3")))
 __attribute__ ((alias ("foo_v1")))
 int symver_foo_v1 (void);
 @end smallexample


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-12 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 14:14 [gcc r11-8135] docs: fix content of smallexample Martin Liska

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).