This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] PR42852 -Wall warns about truncated lines when only a continuation character is truncated


On 07/25/2010 11:51 AM, Jerry DeLisle wrote:
On 07/25/2010 02:23 AM, Tobias Burnus wrote:
integer :: a [many spaces]&
, b
end

The error is:
, b
1
Error: Invalid character in name at (1)

Expected: Additionally, one should see
Warning: Line truncated at (1)
In case of free form code, the '&' is significant - and it can easily
happen that just the continuation character moves beyond column 132.


I will commit the following shortly as obvious to give the warning of free-form continuation gets chopped.


Committed revision 162518.



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