diff options
author | Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> | 2000-06-26 01:20:30 +0200 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-06-25 23:20:30 +0000 |
commit | 1a03d9675e10d1d69754966c2b5329dc0d1d04db (patch) | |
tree | d9467624607203e33e0bd04a5dcfd39489c0d59a /gcc/cp | |
parent | ece0fc8dcbe0cc9657c0e0e637fb011fdbdcebd0 (diff) | |
download | gcc-1a03d9675e10d1d69754966c2b5329dc0d1d04db.zip gcc-1a03d9675e10d1d69754966c2b5329dc0d1d04db.tar.gz gcc-1a03d9675e10d1d69754966c2b5329dc0d1d04db.tar.bz2 |
gengenrtl.c (special_rtx): Fix typo in comment.
* gengenrtl.c (special_rtx): Fix typo in comment.
* search.c (lookup_member): Fix typo in comment.
From-SVN: r34700
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/search.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a50d1ab..43c2803 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2000-06-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> + + * search.c (lookup_member): Fix typo in comment. + 2000-06-24 Jason Merrill <jason@redhat.com> * decl.c (pushdecl): Don't set DECL_CONTEXT from current_namespace. diff --git a/gcc/cp/search.c b/gcc/cp/search.c index 78fb5a4..bc8fd00 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -1504,8 +1504,8 @@ lookup_field_r (binfo, data) return NULL_TREE; } -/* Look for a memer named NAME in an inheritance lattice dominated by - XBASETYPE. PROTECT is 0 or two, we do not check access. If it is +/* Look for a member named NAME in an inheritance lattice dominated by + XBASETYPE. If PROTECT is 0 or two, we do not check access. If it is 1, we enforce accessibility. If PROTECT is zero, then, for an ambiguous lookup, we return NULL. If PROTECT is 1, we issue an error message. If PROTECT is 2, we return a TREE_LIST whose |