This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
RFC PR19261 continuation character illegal as first non-blank character in statement
- From: Jerry DeLisle <jvdelisle at verizon dot net>
- To: Fortran List <fortran at gcc dot gnu dot org>
- Date: Thu, 05 Oct 2006 20:20:11 -0700
- Subject: RFC PR19261 continuation character illegal as first non-blank character in statement
Hi all,
Similar to the other 'continuation' related patches, do we want this to give a
warning only or an error?
Do we want to do this in all cases or only when -pedantic or -std=f95 or -std=f2003
From the F95 Standard: 3.3.1.3
"No line shall contain a single "&" as the only nonblank character or as the
only nonblank character before an "!" that initiates a comment."
I am finding the best place to do this check is in scanner.c (load_line).
Regards,
Jerry