[PATCH; committed] Fix typo in doc/gty.texi

David Malcolm dmalcolm@redhat.com
Thu Nov 19 15:20:00 GMT 2015


Committed to trunk (as r230609) as obvious, having
verified that the docs build.

gcc/ChangeLog:
	* doc/gty.texi (Support for inheritance): Fix missing
	parentheses in example.
---
 gcc/doc/gty.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/doc/gty.texi b/gcc/doc/gty.texi
index 5e0a465..f66fa01 100644
--- a/gcc/doc/gty.texi
+++ b/gcc/doc/gty.texi
@@ -429,13 +429,13 @@ public:
     tree a;
 @};
 
-class GTY((tag("1")) some_subclass : public example_base
+class GTY((tag("1"))) some_subclass : public example_base
 @{
 public:
     tree b;
 @};
 
-class GTY((tag("2")) some_other_subclass : public example_base
+class GTY((tag("2"))) some_other_subclass : public example_base
 @{
 public:
     tree c;
-- 
1.8.5.3



More information about the Gcc-patches mailing list