aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2015-11-19 15:18:03 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2015-11-19 15:18:03 +0000
commit381846b1ca0d683164ba8f025a8c28da39ed3a49 (patch)
tree4dfd7b11c6162b119ce86414307b545fad064512
parent41bfbbb68a5501a954e7cb1cacfda26554a6194d (diff)
downloadgcc-381846b1ca0d683164ba8f025a8c28da39ed3a49.zip
gcc-381846b1ca0d683164ba8f025a8c28da39ed3a49.tar.gz
gcc-381846b1ca0d683164ba8f025a8c28da39ed3a49.tar.bz2
Fix typo in doc/gty.texi
gcc/ChangeLog: * doc/gty.texi (Support for inheritance): Fix missing parentheses in example. From-SVN: r230609
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/gty.texi4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4f4b654..bca577e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ * doc/gty.texi (Support for inheritance): Fix missing
+ parentheses in example.
+
2015-11-19 Marek Polacek <polacek@redhat.com>
PR tree-optimization/68431
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;