From 0811ea8f20728b8ddab50abb814fb6e50528c7dd Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 7 Aug 2000 07:13:13 +0000 Subject: [PATCH] cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo. * cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo. * decl.c (pop_labels): Likewise. From-SVN: r35544 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/cp-tree.h | 2 +- gcc/cp/decl.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6d52df92934..5d124c9bd4a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2000-08-07 Kazu Hirata + + * cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo. + * decl.c (pop_labels): Likewise. + 2000-08-04 Jeffrey Oldham * inc/cxxabi.h (__pbase_type_info): Changed member names to match diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 2c534f38d30..ce58e705133 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -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) diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 24101402782..0656f068918 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -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. */