Open
Description
I note in the Fortran 90 standard (ftp://ftp.nag.co.uk/sc22wg5/N001-N1100/N692.pdf, section 3.4) that "An INCLUDE line is not a Fortran statement. An INCLUDE line must appear on a single source line where a statement may appear;” We only allow it to appear in the place of a NONEXECUTABLE_STATEMENT
and I just saw some code where it appears between end program
and subroutine…
. From the standard it kinda sounds like you can do an include where any kind of statement can appear (include a PROGRM statement), so maybe we need to be more flexible than we are at the moment - without creating a shift/reduce :s
Activity