diff options
| -rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/cp/cp-tree.h | 2 | ||||
| -rw-r--r-- | gcc/cp/decl.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6d52df9..5d124c9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2000-08-07 Kazu Hirata <kazu@hxi.com> + + * cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo. + * decl.c (pop_labels): Likewise. + 2000-08-04 Jeffrey Oldham <oldham@codesourcery.com> * 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 2c534f3..ce58e70 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 2410140..0656f06 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. */ |
