summaryrefslogtreecommitdiff
path: root/gcc/cp/cxx-pretty-print.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-25 17:04:45 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-25 17:04:45 +0000
commitaf6ed417256f16e85037980b807bb7bff81ee779 (patch)
treea07fa2ef52cb57e6407820f14274be6122b01dbe /gcc/cp/cxx-pretty-print.c
parent84e90d04fcb32a07a99ddbdc7d913181cd902738 (diff)
downloadgcc-af6ed417256f16e85037980b807bb7bff81ee779.tar.gz
gcc/
* cfgrtl.c, dbxout.c, tree.def, config/darwin.h, config/arm/arm.c, objc/objc-act.c: Fix comment typos. * doc/invoke.texi: Fix a typo. cp/ * cxx-pretty-print.c: Fix comment typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79956 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cxx-pretty-print.c')
-rw-r--r--gcc/cp/cxx-pretty-print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/cxx-pretty-print.c b/gcc/cp/cxx-pretty-print.c
index 88a800dd39b..a07f0090871 100644
--- a/gcc/cp/cxx-pretty-print.c
+++ b/gcc/cp/cxx-pretty-print.c
@@ -198,7 +198,7 @@ pp_cxx_unqualified_id (cxx_pretty_printer *pp, tree t)
/* Pretty-print out the token sequence ":: template" in template codes
where it is needed to "inline declare" the (following) member as
- a template. This situtation arises when SCOPE of T is dependent
+ a template. This situation arises when SCOPE of T is dependent
on template parameters. */
static inline void
@@ -242,7 +242,7 @@ pp_cxx_qualified_id (cxx_pretty_printer *pp, tree t)
/* In Standard C++, functions cannot possibly be used as
nested-name-specifiers. However, there are situations where
- is "makes sense" to output the surrouding function name for the
+ is "makes sense" to output the surrounding function name for the
purpose of emphasizing on the scope kind. Just printing the
function name might not be sufficient as it may be overloaded; so,
we decorate the function with its signature too.