This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PR fortran/35832] Give better error messages for bad IO-tags
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 06 Apr 2008 18:47:14 +0200
- Subject: [PR fortran/35832] Give better error messages for bad IO-tags
Hi,
this straightforward patch gives better error messages for malformed I/O
statements, by parsing them in smaller parts. With this patch,
something like
ACCESS=123
in an I/O statement is not rejected in its entirety as a syntax error,
but instead an error like
Invalid value for ACCESS specification
is printed.
Built and tested on i386-darwin. Ok?
Cheers,
- Tobi