aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/decl.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-05-29 03:57:15 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-05-29 03:57:15 +0000
commit5ff62c2e815d91b79229cb15058828724d956f85 (patch)
tree2da0d7b83f595be76a4a27d1501d770959ab4e85 /gcc/ada/decl.c
parentfe21ff2d90d45aad1e0f7e60fc195fcbb5501ebb (diff)
downloadgcc-5ff62c2e815d91b79229cb15058828724d956f85.zip
gcc-5ff62c2e815d91b79229cb15058828724d956f85.tar.gz
gcc-5ff62c2e815d91b79229cb15058828724d956f85.tar.bz2
cal.c, [...]: Fix comment typos.
* cal.c, decl.c, init.c, raise.c, trans.c, utils2.c: Fix comment typos. * gnat_rm.texi, gnat_ugn.texi: Fix typos. From-SVN: r100312
Diffstat (limited to 'gcc/ada/decl.c')
-rw-r--r--gcc/ada/decl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/decl.c b/gcc/ada/decl.c
index c881d55..bd9f260 100644
--- a/gcc/ada/decl.c
+++ b/gcc/ada/decl.c
@@ -839,7 +839,7 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition)
}
/* If this is a pointer and it does not have an initializing
- expression, initialize it to NULL, unless the obect is
+ expression, initialize it to NULL, unless the object is
imported. */
if (definition
&& (POINTER_TYPE_P (gnu_type) || TYPE_FAT_POINTER_P (gnu_type))
@@ -4223,7 +4223,7 @@ elaborate_entity (Entity_Id gnat_entity)
Node_Id gnat_lb = Type_Low_Bound (gnat_entity);
Node_Id gnat_hb = Type_High_Bound (gnat_entity);
- /* ??? Tests for avoiding static constaint error expression
+ /* ??? Tests for avoiding static constraint error expression
is needed until the front stops generating bogus conversions
on bounds of real types. */
@@ -6322,7 +6322,7 @@ static int
compatible_signatures_p (tree ftype1, tree ftype2)
{
/* As of now, we only perform very trivial tests and consider it's the
- programmer's responsability to ensure the type correctness in the Ada
+ programmer's responsibility to ensure the type correctness in the Ada
declaration, as in the regular Import cases.
Mismatches typically result in either error messages from the builtin