]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
docs: fix content of smallexample
authorMartin Liska <mliska@suse.cz>
Mon, 12 Apr 2021 14:13:50 +0000 (16:13 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 12 Apr 2021 14:14:25 +0000 (16:14 +0200)
gcc/ChangeLog:

* doc/extend.texi: Escape @smallexample content.

gcc/doc/extend.texi

index 6542ada6583ca312eb021f7ca5e04669c9a3b7bc..1ddafb3ff2ca59e5c4e7b00b4aae7447dd2185b6 100644 (file)
@@ -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