This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/80484] Three syntax errors involving derived-type I/O
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Apr 2017 18:35:21 +0000
- Subject: [Bug fortran/80484] Three syntax errors involving derived-type I/O
- Auto-submitted: auto-generated
- References: <bug-80484-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80484
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Created attachment 41246
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41246&action=edit
Preliminary patch for testing
This patch takes care of the rejected format with a repeat in front of the DT
and the '/' inserted after. I am still testing and exploring the business with
the USE statement.
Note: I have not checked to make sure the runtime also handles the repeat
correctly. This is a work in progress. I am suspicious of this patch since I
expected the unget_char to be sufficient and the lexing would cycle around and
catch that '/'. Obviously it does not, but I do want to understand why not. I
do understand why the repeat digit was missed and that part is good. (Helps if
you put the new code in the right place, ;) )