mjs@hubcap.clemson.edu (M. J. Saltzman) (02/23/91)
Does the fortran 77 standard disallow comments interspersed with continuation lines? For example integer i,j, c this comment splits the statement it appears inside of 1 k,l,m,n The Ultrix(tm) f77 compiler objects to the improperly-terminated first line, and the illegal continuation character on the second line. Is this a bug or a feature? (No, it's not my own code, thank you.) E-mail responses are fine. Thanks in advance. Matthew Saltzman mjs@clemson.edu
LJM@SLACVM.SLAC.STANFORD.EDU (Len Moss) (02/23/91)
In article <13261@hubcap.clemson.edu>, mjs@hubcap.clemson.edu (M. J. Saltzman) asks: > >Does the fortran 77 standard disallow comments interspersed with >continuation lines?... The full Fortran 77 language explicitly allows comment lines between the initial and first continuation lines of a statement, or between continuation lines; the subset language explicitly prohibits such comment lines. The relevant section of the standard (X3.9-1978) is 3.2.1, page 3-2 and 3-2s, lines 36-40. -- Leonard J. Moss <ljm@slacvm.slac.stanford.edu> | My views don't necessarily Stanford Linear Accelerator Center, Bin 97 | reflect those of SLAC, Stanford, CA 94309 | Stanford or the DOE