diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2000-10-05 08:41:44 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2000-10-05 08:41:44 +0000 |
commit | 509fc2779a4604d1d715b4c41008d98b3f963a26 (patch) | |
tree | d8bf0991543309573777795e8917ecc6007b1833 /gcc | |
parent | b2f9816ffd08532b0f6a809d6e074300226e9a79 (diff) | |
download | gcc-509fc2779a4604d1d715b4c41008d98b3f963a26.zip gcc-509fc2779a4604d1d715b4c41008d98b3f963a26.tar.gz gcc-509fc2779a4604d1d715b4c41008d98b3f963a26.tar.bz2 |
cp-tree.h (access_kind): Fix comment typo.
* cp-tree.h (access_kind): Fix comment typo.
* decl2.c (grokfield): Fix diagnostic typo.
* semantics.c (finish_template_type): Fix comment typo.
(finish_qualified_object_call_expr): Likewise.
From-SVN: r36722
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 2 | ||||
-rw-r--r-- | gcc/cp/decl2.c | 2 | ||||
-rw-r--r-- | gcc/cp/semantics.c | 4 |
4 files changed, 11 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 960f17d..34389c5 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,12 @@ 2000-10-05 Nathan Sidwell <nathan@codesourcery.com> + * cp-tree.h (access_kind): Fix comment typo. + * decl2.c (grokfield): Fix diagnostic typo. + * semantics.c (finish_template_type): Fix comment typo. + (finish_qualified_object_call_expr): Likewise. + +2000-10-05 Nathan Sidwell <nathan@codesourcery.com> + * pt.c (tsubst_expr, DECL_STMT case): Don't process if tsubsting fails. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 2516e89..1156495 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -3126,7 +3126,7 @@ typedef enum tmpl_spec_kind { /* The various kinds of access. BINFO_ACCESS depends on these being two bit quantities. The numerical values are important; they are - used to initialize RTTI data structures, so chaning them changes + used to initialize RTTI data structures, so changing them changes the ABI. */ typedef enum access_kind { ak_none = 0, /* Inaccessible. */ diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index a9dc413..42493ad 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -1652,7 +1652,7 @@ grokfield (declarator, declspecs, init, asmspec_tree, attrlist) Explain that to the user. */ static int explained; - cp_error ("invalid data member initiailization"); + cp_error ("invalid data member initialization"); if (!explained) { cp_error ("(use `=' to initialize static data members)"); diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 2f4432f..5c57567 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -1430,7 +1430,7 @@ finish_object_call_expr (fn, object, args) } /* Finish a qualified member function call using OBJECT and ARGS as - arguments to FN. Returns an expressino for the call. */ + arguments to FN. Returns an expression for the call. */ tree finish_qualified_object_call_expr (fn, object, args) @@ -2007,7 +2007,7 @@ finish_template_decl (parms) end_specialization (); } -/* Finish processing a a template-id (which names a type) of the form +/* Finish processing a template-id (which names a type) of the form NAME < ARGS >. Return the TYPE_DECL for the type named by the template-id. If ENTERING_SCOPE is non-zero we are about to enter the scope of template-id indicated. */ |