[patch,fortran] Harmonize gfc_notify_std (GFC_STD_F2003
Tobias Burnus
burnus@net-b.de
Mon Nov 6 09:50:00 GMT 2006
:ADDPATCH fortran:
As suggested, we want to use "Fortran 2003:" for GFC_STD_F2003/-std=f95
errors.
I also changed:
ERROR (...) Fortran 2003: CHAR intrinsic allowed as actual argument at %L
to
ERROR (...) Fortran 2003: CHAR as actual argument at %L
This is not only in line with the other messages and shorter, but I
think also clearer.
If one glances over the current message, you might read it as "error:
You used char as actual argument, which is allowed", which is puzzling
until you realize what is meant by "Fortran 2003".
Tobias
2006-11-06 Tobias Burnus <burnus@net-b.de>
* decl.c (match_attr_spec, gfc_match_enum): Unify gfc_notify_std
message for GFC_STD_F2003.
* array.c (gfc_match_array_constructor): Unify gfc_notify_std
message for GFC_STD_F2003.
* io.c (check_io_constraints): Unify gfc_notify_std message for
GFC_STD_F2003.
* resolve.c (resolve_actual_arglist): Unify gfc_notify_std message
for GFC_STD_F2003.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F2003-msg.diff
Type: text/x-patch
Size: 2391 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061106/a99d1634/attachment.bin>
More information about the Fortran
mailing list