Commit e2ae1407 by Kazu Hirata Committed by Kazu Hirata

check.c, [...]: Fix comment typos.

	* check.c, expr.c, resolve.c, trans-common.c,
	trans-intrinsic.c, trans-stmt.c, trans-types.c: Fix comment typos.

From-SVN: r114170
parent ddd0b831
2006-05-28 Kazu Hirata <kazu@codesourcery.com>
* check.c, expr.c, resolve.c, trans-common.c,
trans-intrinsic.c, trans-stmt.c, trans-types.c: Fix comment typos.
2006-05-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR fortran/19777
......
......@@ -1052,7 +1052,7 @@ gfc_check_ichar_iachar (gfc_expr * c)
if (!ref)
{
/* Check that the argument is length one. Non-constant lengths
can't be checked here, so assume thay are ok. */
can't be checked here, so assume they are ok. */
if (c->ts.cl && c->ts.cl->length)
{
/* If we already have a length for this expression then use it. */
......
......@@ -1879,7 +1879,7 @@ gfc_check_assign (gfc_expr * lvalue, gfc_expr * rvalue, int conform)
if (sym->attr.use_assoc)
bad_proc = true;
/* (ii) The assignement is in the main program; or */
/* (ii) The assignment is in the main program; or */
if (gfc_current_ns->proc_name->attr.is_main_program)
bad_proc = true;
......
......@@ -4946,7 +4946,7 @@ resolve_fl_procedure (gfc_symbol *sym, int mp_flag)
}
}
/* An external symbol may not have an intializer because it is taken to be
/* An external symbol may not have an initializer because it is taken to be
a procedure. */
if (sym->attr.external && sym->value)
{
......
......@@ -84,7 +84,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
a diagonal matrix in the matrix formulation.
Each segment is described by a chain of segment_info structures. Each
segment_info structure describes the extents of a single varible within
segment_info structure describes the extents of a single variable within
the segment. This list is maintained in the order the elements are
positioned withing the segment. If two elements have the same starting
offset the smaller will come first. If they also have the same size their
......
......@@ -329,7 +329,7 @@ build_fix_expr (stmtblock_t * pblock, tree arg, tree type,
/* Round a real value using the specified rounding mode.
We use a temporary integer of that same kind size as the result.
Values larger than those that can be represented by this kind are
unchanged, as thay will not be accurate enough to represent the
unchanged, as they will not be accurate enough to represent the
rounding.
huge = HUGE (KIND (a))
aint (a) = ((a > huge) || (a < -huge)) ? a : (real)(int)a
......
......@@ -1150,7 +1150,7 @@ gfc_trans_integer_select (gfc_code * code)
internal representation of CASE(N).
In the first and second case, we need to set a value for
high. In the thirth case, we don't because the GCC middle
high. In the third case, we don't because the GCC middle
end represents a single case value by just letting high be
a NULL_TREE. We can't do that because we need to be able
to represent unbounded cases. */
......
......@@ -1721,7 +1721,7 @@ gfc_get_function_type (gfc_symbol * sym)
this code was bad, except that it would give incorrect results.
Contained procedures could pass by value as these are never
used without an explicit interface, and connot be passed as
used without an explicit interface, and cannot be passed as
actual parameters for a dummy procedure. */
if (arg->ts.type == BT_CHARACTER)
nstr++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment