From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#19809: 24.4; f90-beginning-of-subprogram wrong behavior with string continuation Date: Tue, 10 Feb 2015 20:27:25 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1423618098 24151 80.91.229.3 (11 Feb 2015 01:28:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Feb 2015 01:28:18 +0000 (UTC) Cc: 19809@debbugs.gnu.org To: Raul Laasner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 11 02:28:09 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YLM64-00025g-Ft for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Feb 2015 02:28:08 +0100 Original-Received: from localhost ([::1]:42656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLM63-0003RP-Il for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Feb 2015 20:28:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLM5z-0003QD-Px for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2015 20:28:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLM5y-0004Sx-OG for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2015 20:28:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLM5y-0004Ss-Ko for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2015 20:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YLM5y-0006HG-Ea for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2015 20:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Feb 2015 01:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19809 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19809-submit@debbugs.gnu.org id=B19809.142361805324089 (code B ref 19809); Wed, 11 Feb 2015 01:28:02 +0000 Original-Received: (at 19809) by debbugs.gnu.org; 11 Feb 2015 01:27:33 +0000 Original-Received: from localhost ([127.0.0.1]:39713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YLM5U-0006GS-U1 for submit@debbugs.gnu.org; Tue, 10 Feb 2015 20:27:33 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:41171 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YLM5T-0006GK-1u for 19809@debbugs.gnu.org; Tue, 10 Feb 2015 20:27:31 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YLM5P-0003FP-2v; Tue, 10 Feb 2015 20:27:29 -0500 X-Spook: Roswell Abbas csystems CID Mole sniper CDMA Manfurov X-Ran: Cj-?h`}2yO*-MDNOUKIv~rwOv"C$6}-WhEkCsh;^74mI_huMCo0yIozw/jC#\m-2/^6C (Raul Laasner's message of "Sat, 7 Feb 2015 22:25:10 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99247 Archived-At: Raul Laasner wrote: > The functions f90-beginning-of-subprogram and f90-end-of-subprogram do not > work correctly if the source file contains lines which begin with the > correct keywords but in fact belong to a continued string. For instance, in > the following, > > subroutine foo() > print*, '& > end subroutine foo' > ! The cursor is here > end subroutine foo But that's not valid Fortran? Continued strings must use '&' at the start of the continued lines as well? Eg gfortran 4.8.2 says: Warning: Missing '&' in continued character constant at (1) Ie, you must write subroutine foo() print*, '& &end subroutine foo' end subroutine foo in which case there isn't a problem.