This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] PR37446 Diagnostic of edit descriptors, esp. EN


Jerry DeLisle wrote:
Greetings,

The attached patch greatly improves the diagnostics for D, G, E, EN, ES format specifiers. I added a simple helper function to convert the token to a string that can be used in error messages.

I also found that we were completely missing a check for the required format width. This is now added in with the patch. The overall error locus was improved by the patch to 41075.

Regression tested on X86-64 Linux. Test case attached.

OK for trunk.

Regards,

Jerry
Corrected the subject of the email. The correct PR number is PR37446.

Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]