This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] cp/cp-tree.h & cp/decl.c: Fix comment typos.
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch] cp/cp-tree.h & cp/decl.c: Fix comment typos.
- From: Kazu Hirata <kazu at hxi dot com>
Hi,
Attached is a patch to fix comment typos in cp/cp-tree.h and cp/decl.c.
Thanks,
Kazu Hirata
2000-08-06 Kazu Hirata <kazu@hxi.com>
* cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
* decl.c (pop_labels): Likewise.
============================================================
Index: cp-tree.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/cp-tree.h,v
retrieving revision 1.508
diff -u -p -r1.508 cp-tree.h
--- cp-tree.h 2000/08/04 18:41:00 1.508
+++ cp-tree.h 2000/08/06 21:21:43
@@ -1565,7 +1565,7 @@ struct lang_type
#define CLASSTYPE_TAGS(NODE) (TYPE_LANG_SPECIFIC(NODE)->tags)
/* Nonzero if NODE has a primary base class, i.e., a base class with
- which it shares the virtual fucntion table pointer. */
+ which it shares the virtual function table pointer. */
#define CLASSTYPE_HAS_PRIMARY_BASE_P(NODE) \
(CLASSTYPE_PRIMARY_BINFO (NODE) != NULL_TREE)
Index: decl.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/decl.c,v
retrieving revision 1.666
diff -u -p -r1.666 decl.c
--- decl.c 2000/08/04 16:10:14 1.666
+++ decl.c 2000/08/06 21:21:50
@@ -1241,7 +1241,7 @@ pop_label (label, old_value)
SET_IDENTIFIER_LABEL_VALUE (DECL_NAME (label), old_value);
}
-/* At the end of a function, all labels declared within the fucntion
+/* At the end of a function, all labels declared within the function
go out of scope. BLOCK is the top-level block for the
function. */
============================================================