From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12814 invoked by alias); 13 Feb 2015 16:58:03 -0000 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 Received: (qmail 12218 invoked by uid 55); 13 Feb 2015 16:58:00 -0000 From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64506] FORMAT Parse Error with Continuation Line Date: Fri, 13 Feb 2015 16:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg01516.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64506 --- Comment #3 from Jerry DeLisle --- Author: jvdelisle Date: Fri Feb 13 16:57:28 2015 New Revision: 220687 URL: https://gcc.gnu.org/viewcvs?rev=220687&root=gcc&view=rev Log: 2015-02-13 Jerry DeLisle PR fortran/64506 * scanner.c (gfc_next_char_literal): For free form source, check for '!' and if found, clear the comment and go back and get the next character. For fixed form source, skip the rest of the line. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/scanner.c