(j3.2006) free source form continuations

Robert Corbett robert.corbett
Sat Aug 9 03:20:44 EDT 2014

A user recently asserted that code such as


is standard conforming and that Oracle Solaris Studio Fortran incorrectly 
rejects it.  Oracle Solaris Studio Fortran treats the first two lines as 
equivalent to


and rejects the code because there is no space between the two intended tokens 
as required by Subclause paragraph 2.  The user asserts that the tokens 
PROGRAM and MAIN are distinct tokens because the second line does not start with 
an "&" as required by Subclause paragraph 3.

Do the rules for free source form continuation cover such code?  If so, what is 
the intended interpretation?

Bob Corbett

More information about the J3 mailing list