From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30220 invoked by alias); 30 May 2008 06:19:58 -0000 Received: (qmail 30108 invoked by uid 48); 30 May 2008 06:19:15 -0000 Date: Fri, 30 May 2008 06:19:00 -0000 Message-ID: <20080530061915.30107.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/36378] Support Fortran files with \r line breaks In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kargl at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg02250.txt.bz2 ------- Comment #2 from kargl at gcc dot gnu dot org 2008-05-30 06:19 ------- (In reply to comment #1) > This could be solved by judicious use of a good source code editor. > > Also, we could have the scanner insert a '/n' if a '/r' is found and peeking > ahead does not find a '/n', assuming we are not between quotes in a literal > string. > You don't need a good source code editor. tr '\r' '\n' < infile > outfile This should be closed with a WONTFIX. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36378