@@ -1,3 +1,11 @@
+2013-07-23 Ondřej Bílka <neleai@seznam.cz>
+
+ * decl.c: Fix typos in fortran.
+ * interface.c: Likewise.
+ * symbol.c: Likewise.
+ * trans-array.c: Likewise.
+ * trans.c: Likewise.
+
2013-07-22 Tobias Burnus <burnus@net-b.de>
PR fortran/57906
@@ -8255,7 +8255,7 @@ match_procedure_in_type (void)
}
/* See if we already have a binding with this name in the symtree which
- would be an error. If a GENERIC already targetted this binding, it may
+ would be an error. If a GENERIC already targeted this binding, it may
be already there but then typebound is still NULL. */
stree = gfc_find_symtree (ns->tb_sym_root, name);
if (stree && stree->n.tb)
@@ -3170,7 +3170,7 @@ gfc_procedure_use (gfc_symbol *sym, gfc_actual_arglist **ap, locus *where)
gfc_formal_arglist *dummy_args;
/* Warn about calls with an implicit interface. Special case
- for calling a ISO_C_BINDING becase c_loc and c_funloc
+ for calling a ISO_C_BINDING because c_loc and c_funloc
are pseudo-unknown. Additionally, warn about procedures not
explicitly declared at all if requested. */
if (sym->attr.if_source == IFSRC_UNKNOWN && ! sym->attr.is_iso_c)
@@ -3287,7 +3287,7 @@ void
gfc_ppc_use (gfc_component *comp, gfc_actual_arglist **ap, locus *where)
{
/* Warn about calls with an implicit interface. Special case
- for calling a ISO_C_BINDING becase c_loc and c_funloc
+ for calling a ISO_C_BINDING because c_loc and c_funloc
are pseudo-unknown. */
if (gfc_option.warn_implicit_interface
&& comp->attr.if_source == IFSRC_UNKNOWN
@@ -3861,7 +3861,7 @@ verify_bind_c_derived_type (gfc_symbol *derived_sym)
{
/* This should be allowed; the draft says a derived-type can not
have type parameters if it is has the BIND attribute. Type
- parameters seem to be for making parameterized derived types.
+ parameters seem to be for making parametrized derived types.
There's no need to verify the type if it is c_ptr/c_funptr. */
retval = verify_bind_c_derived_type (curr_comp->ts.u.derived);
}
@@ -994,7 +994,7 @@ get_array_ref_dim_for_loop_dim (gfc_ss *ss, int loop_dim)
'eltype' == NULL signals that the temporary should be a class object.
The 'initial' expression is used to obtain the size of the dynamic
- type; otherwise the allocation and initialisation proceeds as for any
+ type; otherwise the allocation and initialization proceeds as for any
other expression
PRE, POST, INITIAL, DYNAMIC and DEALLOC are as for
@@ -1568,7 +1568,7 @@ gfc_set_backend_locus (locus * loc)
}
-/* Restore the saved locus. Only used in conjonction with
+/* Restore the saved locus. Only used in conjunction with
gfc_save_backend_locus, to free the memory when we are done. */
void
@@ -1,3 +1,11 @@
+2013-07-23 Ondřej Bílka <neleai@seznam.cz>
+
+ * intrinsics/chmod.c: Fix typos in fortran.
+ * intrinsics/env.c: Likewise.
+ * io/file_pos.c: Likewise.
+ * io/transfer.c: Likewise.
+ * io/write.c: Likewise.
+
2013-07-21 Ondřej Bílka <neleai@seznam.cz>
* io/transfer.c: Fix comment typos.
@@ -116,7 +116,7 @@ chmod_func (char *name, char *mode, gfc_charlen_type name_len,
#endif
#ifdef HAVE_UMASK
- /* Obtain the umask without distroying the setting. */
+ /* Obtain the umask without destroying the setting. */
mode_mask = 0;
mode_mask = umask (mode_mask);
(void) umask (mode_mask);
@@ -79,7 +79,7 @@ PREFIX(getenv) (char * name, char * value, gfc_charlen_type name_len,
/* GET_ENVIRONMENT_VARIABLE (name, [value, length, status, trim_name])
is a F2003 intrinsic for getting an environment variable. */
-/* Status codes specifyed by the standard. */
+/* Status codes specified by the standard. */
#define GFC_SUCCESS 0
#define GFC_VALUE_TOO_SHORT -1
#define GFC_NAME_DOES_NOT_EXIST 1
@@ -412,7 +412,7 @@ st_rewind (st_parameter_filepos *fpp)
if (sseek (u->s, 0, SEEK_SET) < 0)
generate_error (&fpp->common, LIBERROR_OS, NULL);
- /* Set this for compatibilty with g77 for /dev/null. */
+ /* Set this for compatibility with g77 for /dev/null. */
if (ssize (u->s) == 0)
u->endfile = AT_ENDFILE;
else
@@ -995,7 +995,7 @@ unformatted_read (st_parameter_dt *dtp, bt type,
if (unlikely (dtp->u.p.current_unit->flags.convert == GFC_CONVERT_SWAP)
&& kind != 1)
{
- /* Handle wide chracters. */
+ /* Handle wide characters. */
if (type == BT_CHARACTER)
{
nelems *= size;
@@ -1039,7 +1039,7 @@ unformatted_write (st_parameter_dt *dtp, bt type,
p = source;
- /* Handle wide chracters. */
+ /* Handle wide characters. */
if (type == BT_CHARACTER && kind != 1)
{
nelems *= size;
@@ -1618,7 +1618,7 @@ list_formatted_write (st_parameter_dt *dtp, bt type, void *p, int kind,
the list. */
/* A generous estimate of the number of characters needed to print
- repeat counts and indices, including commas, asterices and brackets. */
+ repeat counts and indices, including commas, asterisks and brackets. */
#define NML_DIGITS 20
@@ -1974,7 +1974,7 @@ namelist_write (st_parameter_dt *dtp)
dtp->u.p.nml_delim = tmp_delim == DELIM_APOSTROPHE ? '\'' : '"';
- /* Temporarily disable namelist delimters. */
+ /* Temporarily disable namelist delimiters. */
dtp->u.p.current_unit->delim_status = DELIM_NONE;
write_character (dtp, "&", 1, 1);