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] Fix PR19101 Missing ampersand in continued character literals


On Sat, Mar 11, 2006 at 09:10:45PM -0800, Jerry DeLisle wrote:
> :ADDPATCH fortran:
> 
> Borrowing heavily from Steve's tab patch I have arrived at the attached 
> patch. This version gives warning of a missing ampersand with -Wampersand, 
> -Wall, -std-f95, or -pedantic.  Otherwise no warning is given.
> 
> The default behavior is to assume the character literal continues at the 
> first non-whitespace, non-comment character encountered after the initial 
> continuation ampersand at the end of the previous line.
> 
> OK for trunk and 4.1.1?  Test case will be provided.

:REVIEWMAIL:

AFAICT, the rule hasn't been changed for F2003, so the warning should
also be enabled for -std=f2003.

With that change (remeber to update the documentation part of the
patch appropriately too), OK for trunk and 4.1.1 a week later.



-- 
Janne Blomqvist

Attachment: pgp00000.pgp
Description: PGP signature


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