aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2000-08-30 06:20:22 -0400
committerJason Merrill <jason@gcc.gnu.org>2000-08-30 06:20:22 -0400
commitc7cb8979c3d141630b6078a585d33c7aa34b7ae6 (patch)
tree917be8ddd75ff5ff59f5190b335997052de645e0 /gcc/cp
parent38998e14766dd11e1506203708a4e4a5720759f3 (diff)
downloadgcc-c7cb8979c3d141630b6078a585d33c7aa34b7ae6.zip
gcc-c7cb8979c3d141630b6078a585d33c7aa34b7ae6.tar.gz
gcc-c7cb8979c3d141630b6078a585d33c7aa34b7ae6.tar.bz2
typos
From-SVN: r36062
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/cp-tree.def2
-rw-r--r--gcc/cp/decl2.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/cp-tree.def b/gcc/cp/cp-tree.def
index 1c4d860..71edb20 100644
--- a/gcc/cp/cp-tree.def
+++ b/gcc/cp/cp-tree.def
@@ -219,7 +219,7 @@ DEFTREECODE (PSEUDO_DTOR_EXPR, "pseudo_dtor_expr", 'e', 3)
function. */
DEFTREECODE (SUBOBJECT, "subobject", 'e', 1)
/* An CTOR_STMT marks the beginning (if CTOR_BEGIN_P holds) or end of
- a contstructor (if CTOR_END_P) holds. At the end of a constructor,
+ a constructor (if CTOR_END_P) holds. At the end of a constructor,
the cleanups associated with any SUBOBJECT_CLEANUPS need no longer
be run. */
DEFTREECODE (CTOR_STMT, "ctor_stmt", 'e', 0)
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index 76e2f11..90c6c3e 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -3044,8 +3044,8 @@ finish_objects (method_type, initp, body)
const char *fnname;
tree fn;
- /* Finish up. */
- finish_compound_stmt(/*has_no_scope=*/0, body);
+ /* Finish up. */
+ finish_compound_stmt (/*has_no_scope=*/0, body);
fn = finish_function (0);
expand_body (fn);