diff options
author | Kazu Hirata <kazu@hxi.com> | 2000-08-07 07:13:13 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-08-07 01:13:13 -0600 |
commit | 0811ea8f20728b8ddab50abb814fb6e50528c7dd (patch) | |
tree | feaf9bea330d991979555c8d0d0f90fdc60138ba /gcc | |
parent | d169e67cd744607ca542b717cc60277070f3486e (diff) | |
download | gcc-0811ea8f20728b8ddab50abb814fb6e50528c7dd.zip gcc-0811ea8f20728b8ddab50abb814fb6e50528c7dd.tar.gz gcc-0811ea8f20728b8ddab50abb814fb6e50528c7dd.tar.bz2 |
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
Diffstat (limited to 'gcc')
-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. */ |